Don't set cell caption setting on load
This commit is contained in:
parent
b6682f2b19
commit
516f66e0b3
|
@ -2314,13 +2314,13 @@
|
|||
function initCellCaptions() {
|
||||
setCellCaptions(getSetting("CELL_CAPTIONS"));
|
||||
|
||||
document.getElementById("cell-captions").onclick = function () {
|
||||
document.getElementById("cell-captions").onchange = function () {
|
||||
setCellCaptions(document.getElementById("cell-captions").value);
|
||||
setSetting("CELL_CAPTIONS", mode);
|
||||
};
|
||||
}
|
||||
|
||||
function setCellCaptions(mode) {
|
||||
setSetting("CELL_CAPTIONS", mode);
|
||||
document.getElementById("cell-captions").value = mode;
|
||||
|
||||
board.classList.remove("special-cell-label-short");
|
||||
|
|
Loading…
Reference in New Issue