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:
2c3714d
)
correct select control position if user cancel the change
author
Laurent Mazet
<mazet@softndesign.org>
Tue, 5 May 2020 23:19:01 +0000
(
01:19
+0200)
committer
Laurent Mazet
<mazet@softndesign.org>
Tue, 5 May 2020 23:19:01 +0000
(
01:19
+0200)
public/trivabble.js
patch
|
blob
|
blame
|
history
diff --git
a/public/trivabble.js
b/public/trivabble.js
index cea9a48c589803fc6629b9b7d41a130caf4e1206..7437b36e2a03334caf0d7ccaad8645b53256b676 100644
(file)
--- a/
public/trivabble.js
+++ b/
public/trivabble.js
@@
-1342,6
+1342,9
@@
format(_("Are you sure you want to change board to '{0}'? This will put all the tiles back in the bag and start another game."), _(langName[lang])),
function () {
sendCmds([{cmd: "changeBoard", lang: lang}]);
+ },
+ function () {
+ document.getElementById("board-lang").value = localStorage.trivabbleBoardLang;
}
);
}