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