commit 0ad78591c22569d0976480512afb18fdca9a80af
parent 29577516bd76c602f60f08475d556e5f0cb86d98
Author: NicholasFarrow <nicholas.w.farrow@gmail.com>
Date: Sat, 30 Jan 2021 15:40:36 +1100
fix missing timer
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/static/server_connection.js b/static/server_connection.js
@@ -50,6 +50,9 @@ function conditionalPageLogic(msg) {
if (msg.time_left == 0) {
document.getElementById('timerContainer').style.visibility = "hidden";
}
+ else {
+ document.getElementById('timerContainer').style.visibility = "visible";
+ }
}
// Payment timer, can't go below zero, update every second