fix progressbar not disappearing

This commit is contained in:
grey committed 2022-07-12 22:15:27 +02:00
1 parent f3bcf63860
commit 0ae35590f4
3 files changed
+11 -2

No files matched your search

+6 -1
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){