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:
bb42d54
)
correct turn timer reset
author
Laurent Mazet
<mazet@softndesign.org>
Tue, 18 Aug 2020 12:38:35 +0000
(14:38 +0200)
committer
Laurent Mazet
<mazet@softndesign.org>
Tue, 18 Aug 2020 12:38:35 +0000
(14:38 +0200)
public/trivabble.js
patch
|
blob
|
blame
|
history
diff --git
a/public/trivabble.js
b/public/trivabble.js
index 88ea1893aae78b009302514e3922d8ec8240d25b..695e858a6694d673aa1e52891e9e1f257ce9bf25 100644
(file)
--- a/
public/trivabble.js
+++ b/
public/trivabble.js
@@
-706,6
+706,7
@@
function setCurrentPlayer(player) {
if (currentPlayer && tablePlayers[currentPlayer]) {
tablePlayers[currentPlayer].classList.remove("current-player");
+ localStorage.timerTurn = 0;
}
currentPlayer = player;