var timeLeft = Math.round(((expire % 86400000) % 3600000) / 60000);
if (timeLeft < 0) {
- timeLeft = 'Expired';
- document.getElementById("time").style.background = "red";
+ /*timeLeft = 'Expired';
+ document.getElementById("time").style.background = "red";*/
clearInterval(timerRef);
+ location.reload();
} else {
timeLeft += 1;
timeLeft = '< ' + timeLeft + ' min';