fix progressbar not disappearing
This commit is contained in:
1 parent
f3bcf63860
commit
0ae35590f4
3 files changed
+11
-2
No files matched your search
+6
-1
@@ -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){
|
||||
|
||||
Reference in new issue
Block a user