make time go to 0
This commit is contained in:
parent
6258e501eb
commit
726ed7c23b
1 changed files with 1 additions and 0 deletions
|
@ -133,6 +133,7 @@ setInterval(() => {
|
|||
clock.dataset.time--;
|
||||
if (timer <= 0) {
|
||||
clock.classList.remove("timer-enabled");
|
||||
tone.currentTime = 0;
|
||||
tone.play();
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue