diff options
Diffstat (limited to 'tempo.js')
-rw-r--r-- | tempo.js | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -29,7 +29,8 @@ function updateTime() { function startTempo() { updateTime(); - setInterval(updateTime, 1000); + setTimeout(function() {updateTime(); setInterval(updateTime, 1000)}, + 1000 - new Date().getTime() % 1000); } window.onload = startTempo; |