diff --git a/js/timer.js b/js/timer.js index 33b4c5e..b105b25 100644 --- a/js/timer.js +++ b/js/timer.js @@ -1,6 +1,6 @@ function startTimer(duration, display) { var timer = duration, minutes, seconds; - clearInterval(interval); + // clearInterval(interval); var interval = setInterval(function () { minutes = parseInt(timer / 60, 10) seconds = parseInt(timer % 60, 10); @@ -26,7 +26,7 @@ function startTimer(duration, display) { window.onclick = function () { display = document.getElementById('Timer'); var oneMinute = 60 ; //, - // display = document.getElementById('Timer'); + // display = document.getElementById('Timer'); startTimer(oneMinute, display); };