Skip to content

Commit 6799a86

Browse files
refactor cleanInitialState to use updateDisplayedTime for resetting display
1 parent 6d09014 commit 6799a86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sprint-3/alarmclock/alarmclock.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ function pauseCountDown(e) {
6464
function cleanInitialState() {
6565
clearInterval(intervalId);
6666
document.body.classList.remove("finish-countdown");
67-
updateDisplayedTime(0)//document.getElementById("timeRemaining").innerHTML = "Time Remaining: 00:00";
67+
updateDisplayedTime(0)
6868
document.getElementById("alarmSet").value = null;
6969
pauseAlarm();
7070
}

0 commit comments

Comments
 (0)