Compare commits
3 commits
870bc240b3
...
cf0abf0670
Author | SHA1 | Date | |
---|---|---|---|
|
cf0abf0670 | ||
|
8b4ba28970 | ||
|
b023d3ee51 |
2 changed files with 3 additions and 1 deletions
|
@ -29,6 +29,8 @@
|
|||
=======
|
||||
<div id="timer">Time</div>
|
||||
<button id="Pause" onclick="Pause()">Pause</button>
|
||||
<br>
|
||||
<div></div>
|
||||
<canvas id="canvas" width="800" height="400"></canvas>
|
||||
>>>>>>> 380cebd36dc4e3a1f3af185d1a7e3f0adb3e04d1
|
||||
<div class="to-center">
|
||||
|
|
|
@ -61,7 +61,7 @@ function timer(){
|
|||
txt.innerHTML= afficher;
|
||||
|
||||
time = time <= 0 ? 0 : time -1;
|
||||
if (time == )
|
||||
if (time == 0)
|
||||
{
|
||||
clearInterval(maVar);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue