remove CellCaptions key
This commit is contained in:
parent
9c2408c560
commit
c118fd652e
|
@ -164,7 +164,6 @@
|
||||||
TimerEnable: "boolean",
|
TimerEnable: "boolean",
|
||||||
TimerGameDate: "number",
|
TimerGameDate: "number",
|
||||||
TimerTurnDate: "number",
|
TimerTurnDate: "number",
|
||||||
CellCaptions: "string"
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const _ = (window.libD && libD.l10n) ? libD.l10n() : function (s) {
|
const _ = (window.libD && libD.l10n) ? libD.l10n() : function (s) {
|
||||||
|
@ -2317,11 +2316,11 @@
|
||||||
setCellCaptions(document.getElementById("cell-captions").value);
|
setCellCaptions(document.getElementById("cell-captions").value);
|
||||||
};
|
};
|
||||||
|
|
||||||
setCellCaptions(getSetting("CellCaptions", getSetting("CELL_CAPTIONS")));
|
setCellCaptions(getSetting("CELL_CAPTIONS"));
|
||||||
}
|
}
|
||||||
|
|
||||||
function setCellCaptions(mode) {
|
function setCellCaptions(mode) {
|
||||||
setSetting("CellCaptions", mode);
|
setSetting("CELL_CAPTIONS", mode);
|
||||||
document.getElementById("cell-captions").value = mode;
|
document.getElementById("cell-captions").value = mode;
|
||||||
|
|
||||||
if (board.classList.contains("special-cell-label-short")) {
|
if (board.classList.contains("special-cell-label-short")) {
|
||||||
|
|
Loading…
Reference in New Issue