fix progressbar not disappearing

This commit is contained in:
2022-07-12 22:15:27 +02:00
parent f3bcf63860
commit 0ae35590f4
3 changed files with 11 additions and 2 deletions

View File

@ -195,7 +195,12 @@ function handleUpdate() {
timerCountdownFirst = true;
} else if (data.mode == "timer") {
document.getElementById("wholeProgBar").style.display = "block";
if(data.showProgressbar) {
document.getElementById("wholeProgBar").style.display = "block";
} else {
document.getElementById("wholeProgBar").style.display = "none";
}
const now = new Date()
if(timerCountdownFirst){