From 138cb0547cd67e9c0c8d9b06923430a882d8e3be Mon Sep 17 00:00:00 2001 From: "C. Milagros. C Venencia" <88778574+consuelomilagros@users.noreply.github.com> Date: Thu, 28 Nov 2024 19:14:31 -0300 Subject: [PATCH] Update script_cronometro.js --- script_cronometro.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/script_cronometro.js b/script_cronometro.js index 22d0118..1add47d 100644 --- a/script_cronometro.js +++ b/script_cronometro.js @@ -28,13 +28,13 @@ startButton.addEventListener('click', () => { }); stopButton.addEventListener('click', () => { - clearInterval(timer); - isRunning = false; + clearInterval(timer); + isRunning = false; }); resetButton.addEventListener('click', () => { - clearInterval(timer); - isRunning = false; - seconds = 0; - timerDisplay.textContent = "00:00:00"; -}); \ No newline at end of file + clearInterval(timer); + isRunning = false; + seconds = 0; + timerDisplay.textContent = "00:00:00"; +});