From: Laurent Mazet Date: Tue, 18 Aug 2020 12:38:35 +0000 (+0200) Subject: correct turn timer reset X-Git-Url: https://secure.softndesign.org/git/?a=commitdiff_plain;h=c8ba5145402966359b640a8c9d56c7b0cd9e5ab8;p=trivabble.git correct turn timer reset --- diff --git a/public/trivabble.js b/public/trivabble.js index 88ea189..695e858 100644 --- 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;