From 4dc7954a21df27ffaf3fdf4078f291f5d91d5e6a Mon Sep 17 00:00:00 2001 From: Michael Rasmussen Date: Thu, 4 Jun 2015 01:19:07 +0200 Subject: [PATCH] Fix timer --- js/timer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/timer.js b/js/timer.js index 4825655..d21a487 100644 --- a/js/timer.js +++ b/js/timer.js @@ -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'; -- 2.39.2