From f3e530f42e350f17f42cf3f8f0f310f433effef9 Mon Sep 17 00:00:00 2001 From: Kristian Lyngstol Date: Thu, 30 Jun 2016 21:37:03 +0200 Subject: front: Fix basic Safari-stuff and misc oplog-issues .... Oplog: Don't send empty oplog entries. When viewing a switch, don't include oplog entries that have a blank system association. --- web/js/nms.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'web/js/nms.js') diff --git a/web/js/nms.js b/web/js/nms.js index dc9ba96..0b9fc73 100644 --- a/web/js/nms.js +++ b/web/js/nms.js @@ -234,8 +234,11 @@ function ensureAnchorHas(view) { * stopTv esnures that we don't conflict with the tvmode thing. If a * user-initiated map is selected, tvmode is disabled. */ -function setUpdater(fo, stopTv = true) +function setUpdater(fo, stopTv ) { + if (stopTv == undefined) { + stopTv = true; + } if (stopTv) nms.tvmode.stop(); nmsMap.reset(); -- cgit v1.2.3