Skip to content

Commit

Permalink
updated isstoppped
Browse files Browse the repository at this point in the history
  • Loading branch information
amoghar29 committed Jun 16, 2024
1 parent 7125847 commit 01f64a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ document.getElementById('start').addEventListener('click', function(){

document.getElementById('stop').addEventListener('click', function(){
clearInterval(interval);
isStopped = false;
isStopped = true;
});
document.getElementById('reset').addEventListener('click', function(){
clearInterval(interval);
Expand Down

0 comments on commit 01f64a3

Please sign in to comment.