From: Laurent Mazet Date: Tue, 20 Apr 2021 19:57:50 +0000 (+0200) Subject: remove CellCaptions key X-Git-Url: https://secure.softndesign.org/git/?a=commitdiff_plain;h=c118fd652e78982641461b56c0e5b14a36beea6d;p=trivabble.git remove CellCaptions key --- diff --git a/public/trivabble.js b/public/trivabble.js index 65b8580..d8afb67 100644 --- a/public/trivabble.js +++ b/public/trivabble.js @@ -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")) {