remove CellCaptions key
authorLaurent Mazet <mazet@softndesign.org>
Tue, 20 Apr 2021 19:57:50 +0000 (21:57 +0200)
committerLaurent Mazet <mazet@softndesign.org>
Tue, 20 Apr 2021 19:57:50 +0000 (21:57 +0200)
public/trivabble.js

index 65b8580f35deae523a0376b64f3fc108fa699f46..d8afb6729b3e864ec6bc8bf24da5a650f7bd7a94 100644 (file)
         TimerEnable: "boolean",
         TimerGameDate: "number",
         TimerTurnDate: "number",
-        CellCaptions: "string"
     };
 
     const _ = (window.libD && libD.l10n) ? libD.l10n() : function (s) {
             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")) {