diff --git a/js/app.js b/js/app.js index 787d08a..572cbfc 100644 --- a/js/app.js +++ b/js/app.js @@ -265,7 +265,8 @@ function resetTimer() { } timerDurationInput.addEventListener('change', () => { - if (!timerInterval && timePassed === 0) { + if (!timerInterval) { + timePassed = 0; TIME_LIMIT = getTimerDuration(); timeLeft = TIME_LIMIT; timerText.innerHTML = formatTimeLeft(timeLeft);