Update stopwatch-timer.html
This commit is contained in:
@@ -556,6 +556,7 @@ toggleBtn.addEventListener('click', () => {
|
|||||||
if (remainingSeconds <= 0) {
|
if (remainingSeconds <= 0) {
|
||||||
clearInterval(timerInterval);
|
clearInterval(timerInterval);
|
||||||
timerInterval = null;
|
timerInterval = null;
|
||||||
|
totalSeconds = 0;
|
||||||
showTimerAlert();
|
showTimerAlert();
|
||||||
toggleBtn.classList.remove("pause");
|
toggleBtn.classList.remove("pause");
|
||||||
toggleBtn.classList.add("play");
|
toggleBtn.classList.add("play");
|
||||||
|
|||||||
Reference in New Issue
Block a user