This commit is contained in:
Maciej Caderek
2022-03-13 21:41:50 +01:00
parent a4d7f9711a
commit ec0e13bd8a
5 changed files with 19 additions and 25 deletions

View File

@@ -137,7 +137,7 @@ const main = async () => {
setState("boardConfig", "flipped", side === "b");
document.title = `SHORTCASTLE - ${game.getTitle({ anonymous: false })}`;
document.title = `SHARECHESS - ${game.getTitle({ anonymous: false })}`;
},
async loadFEN(fen: string, hash = true) {
const game = new Game().loadFEN(fen);
@@ -167,7 +167,7 @@ const main = async () => {
setState("boardConfig", "flipped", side === "b");
document.title = `SHORTCASTLE - FEN ${fen}`;
document.title = `SHARECHESS - FEN ${fen}`;
},
async load(data: string) {
if (isFEN(data)) {