fixed not found nr. 1

This commit is contained in:
hyperbel 2022-11-08 18:14:22 +01:00
parent ae350722ab
commit 4cd7a569bf
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ var modal = document.getElementById('id01');
var Interval ;
var time = seconds + tens;
buttonStart.onclick = () => {
function onclckfn() {
clearInterval(Interval);
Interval = setInterval(startTimer, 10);
}

View File

@ -35,7 +35,7 @@
<div class="wrapper">
<center>
<p><span id="seconds">00</span>:<span id="tens">00</span></p>
<button id="button-start">Start</button>
<button id="button-start" onclick="onclckfn()">Start</button>
<button id="button-stop">Stop</button>
<button id="button-reset">Reset</button>
<form class="modal-content animate" action="http://127.0.0.1:5000/stopuhr" method="POST">