aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerek Stevens <nilix@nilfm.cc>2019-11-20 10:26:16 -0500
committerDerek Stevens <nilix@nilfm.cc>2019-11-20 10:26:16 -0500
commit61e0bde68844def30d816f7294f0f8fa004a6b71 (patch)
tree2ebed4e9e20d482d3a092a6634b79a0e3af35b4c
parent9f7e0efc61eef0c9139f07780f0c9dd714e78541 (diff)
fix timer: chime resets with currentTime=0 instead of fastSeek(0) now
-rw-r--r--timer.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/timer.js b/timer.js
index 000c5f8..613fb80 100644
--- a/timer.js
+++ b/timer.js
@@ -122,7 +122,7 @@ timer.start = function()
$("#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 @@ timer.stop = function()
$("#startStop").val("Start");
$("#timerPause").attr("disabled", true);
document.getElementById("chime").pause();
- document.getElementById("chime").fastSeek(0);
+ document.getElementById("chime").currentTime=0;
}
timer.pause = function()