]> git.datanom.net - qtadmin.git/commitdiff
Fix timer
authorMichael Rasmussen <mir@datanom.net>
Wed, 3 Jun 2015 23:19:07 +0000 (01:19 +0200)
committerMichael Rasmussen <mir@datanom.net>
Wed, 3 Jun 2015 23:19:07 +0000 (01:19 +0200)
js/timer.js

index 482565577923f1045d20768cee0bcca981bdb26f..d21a4871cc7db2167b3b8de8349fe072b701620f 100644 (file)
@@ -13,7 +13,7 @@ function myTimer() {
         console.log('Session expired, reload page');
         last = -1;
         location.reload();
-    } else if (timeLeft < 2) {
+    } else if (timeLeft == 1) {
         if (timeLeft < last || last == -1) {
             last = timeLeft;
             timeLeft = '< ' + timeLeft + ' min';
This page took 0.030417 seconds and 5 git commands to generate.