Soft'N'Design Software
/
projects
/
trivabble.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
915f84a
)
fix error from develop (mode does not exists) and set cell captions after drawing...
author
Laurent Mazet
<mazet@softndesign.org>
Sat, 24 Apr 2021 20:08:56 +0000
(22:08 +0200)
committer
Laurent Mazet
<mazet@softndesign.org>
Sat, 24 Apr 2021 20:09:49 +0000
(22:09 +0200)
public/trivabble.js
patch
|
blob
|
blame
|
history
diff --git
a/public/trivabble.js
b/public/trivabble.js
index 93699afc24ec4d68249392416a55965dcc112346..2630de9d10d299f86a8dbc2218e8da4f9485cccf 100644
(file)
--- a/
public/trivabble.js
+++ b/
public/trivabble.js
@@
-2364,7
+2364,8
@@
setCellCaptions(getSetting("CELL_CAPTIONS"));
document.getElementById("cell-captions").onchange = function () {
- setCellCaptions(document.getElementById("cell-captions").value);
+ const mode = document.getElementById("cell-captions").value;
+ setCellCaptions(mode);
setSetting("CELL_CAPTIONS", mode);
};
}
@@
-2618,6
+2619,7
@@
playerLetters.push(span);
}
+ setCellCaptions(getSetting("CELL_CAPTIONS"));
}
function initLang() {