remove CellCaptions key

This commit is contained in:
Laurent Mazet 2021-04-20 21:57:50 +02:00
parent 9c2408c560
commit c118fd652e
1 changed files with 2 additions and 3 deletions

View File

@ -164,7 +164,6 @@
TimerEnable: "boolean",
TimerGameDate: "number",
TimerTurnDate: "number",
CellCaptions: "string"
};
const _ = (window.libD && libD.l10n) ? libD.l10n() : function (s) {
@ -2317,11 +2316,11 @@
setCellCaptions(document.getElementById("cell-captions").value);
};
setCellCaptions(getSetting("CellCaptions", getSetting("CELL_CAPTIONS")));
setCellCaptions(getSetting("CELL_CAPTIONS"));
}
function setCellCaptions(mode) {
setSetting("CellCaptions", mode);
setSetting("CELL_CAPTIONS", mode);
document.getElementById("cell-captions").value = mode;
if (board.classList.contains("special-cell-label-short")) {