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