fix error from develop (mode does not exists) and set cell captions after drawing board
This commit is contained in:
parent
915f84a4ff
commit
e24f694a1e
|
@ -2364,7 +2364,8 @@
|
||||||
setCellCaptions(getSetting("CELL_CAPTIONS"));
|
setCellCaptions(getSetting("CELL_CAPTIONS"));
|
||||||
|
|
||||||
document.getElementById("cell-captions").onchange = function () {
|
document.getElementById("cell-captions").onchange = function () {
|
||||||
setCellCaptions(document.getElementById("cell-captions").value);
|
const mode = document.getElementById("cell-captions").value;
|
||||||
|
setCellCaptions(mode);
|
||||||
setSetting("CELL_CAPTIONS", mode);
|
setSetting("CELL_CAPTIONS", mode);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -2618,6 +2619,7 @@
|
||||||
playerLetters.push(span);
|
playerLetters.push(span);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
setCellCaptions(getSetting("CELL_CAPTIONS"));
|
||||||
}
|
}
|
||||||
|
|
||||||
function initLang() {
|
function initLang() {
|
||||||
|
|
Loading…
Reference in New Issue