all repos — gears @ 61e0bde68844def30d816f7294f0f8fa004a6b71

lightweight world clock webapp with jquery, moment-timezone, and fuse.js

fix timer: chime resets with currentTime=0 instead of fastSeek(0) now
Iris Lightshard nilix@nilfm.cc
commit

61e0bde68844def30d816f7294f0f8fa004a6b71

parent

9f7e0efc61eef0c9139f07780f0c9dd714e78541

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M timer.jstimer.js

@@ -122,7 +122,7 @@ timer.timeLeft = moment.duration(timer.maxTime.diff(timer.begin));

$("#startStop").val("Reset"); $("#timerPause").attr("disabled", false); $("#timerPause").val("Pause"); - document.getElementById("chime").fastSeek(0); + document.getElementById("chime").currentTime=0; } timer.stop = function()

@@ -138,7 +138,7 @@ }

$("#startStop").val("Start"); $("#timerPause").attr("disabled", true); document.getElementById("chime").pause(); - document.getElementById("chime").fastSeek(0); + document.getElementById("chime").currentTime=0; } timer.pause = function()