aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--web/nms.gathering.org/js/nms.js12
1 files changed, 2 insertions, 10 deletions
diff --git a/web/nms.gathering.org/js/nms.js b/web/nms.gathering.org/js/nms.js
index bd150d5..f334d7b 100644
--- a/web/nms.gathering.org/js/nms.js
+++ b/web/nms.gathering.org/js/nms.js
@@ -365,18 +365,9 @@ nms.playback.play = function() {
*/
nms.playback.setNow = function(now,playing) {
nms.playback.pause();
-
- if (now == "")
- now = false;
- if (playing == "")
- playing = false;
-
- if(now)
- now = parseNow(now);
-
resetSwitchStates();
+ now = parseNow(now);
nms.now = now;
- nms.updater.updater();
if (playing) {
nms.playback.play();
@@ -384,6 +375,7 @@ nms.playback.setNow = function(now,playing) {
updatePorts();
updatePing();
+ nms.updater.updater();
}
function stepTime(n)