Open Round: start timer if toggle ON, regardless of current value
This commit is contained in:
@@ -402,7 +402,7 @@ function toggleRound(){
|
|||||||
} else {
|
} else {
|
||||||
ws_send({type:'open_round'});
|
ws_send({type:'open_round'});
|
||||||
// If linked (toggle ON) and timer stopped, reset and start it
|
// If linked (toggle ON) and timer stopped, reset and start it
|
||||||
if(document.getElementById('timer-tog').checked && !modTimerRunning && modTimerRemaining===0){
|
if(document.getElementById('timer-tog').checked && !modTimerRunning){
|
||||||
modTimerLoad();
|
modTimerLoad();
|
||||||
modTimerRunning=true;
|
modTimerRunning=true;
|
||||||
document.getElementById('btn-timer-ss').textContent='PAUSE';
|
document.getElementById('btn-timer-ss').textContent='PAUSE';
|
||||||
|
|||||||
Reference in New Issue
Block a user