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:
516f66e
)
set mode variable
author
Laurent Mazet
<mazet@softndesign.org>
Mon, 26 Apr 2021 04:22:31 +0000
(06:22 +0200)
committer
Laurent Mazet
<mazet@softndesign.org>
Mon, 26 Apr 2021 04:22:31 +0000
(06:22 +0200)
public/trivabble.js
patch
|
blob
|
blame
|
history
diff --git
a/public/trivabble.js
b/public/trivabble.js
index 5dff925840b20c5a99bcdc478722d8a3a81e8d52..1d8ea9c74a635e61f16249de3f440e551741932b 100644
(file)
--- a/
public/trivabble.js
+++ b/
public/trivabble.js
@@
-2315,7
+2315,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);
};
}