]> git.datanom.net - qtadmin.git/blobdiff - js/timer.js
reload page when session expire
[qtadmin.git] / js / timer.js
index 2dee4a40af3d15d99373a08ff112016187bdf4bb..1c2825f77a67de2f34c815a683650bc29a052153 100644 (file)
@@ -10,7 +10,7 @@ function myTimer() {
     if (timeLeft < 0) {
         clearInterval(timerRef);
         location.reload();
-    } else if {
+    } else if (timeLeft < 1) {
         timeLeft = 'Expired';
         document.getElementById("time").style.background = "red";
     }else {
This page took 0.037589 seconds and 5 git commands to generate.