diff options
author | Kristian Lyngstol <kly@kly.no> | 2016-06-30 21:37:03 +0200 |
---|---|---|
committer | Kristian Lyngstol <kly@kly.no> | 2016-06-30 21:37:03 +0200 |
commit | f3e530f42e350f17f42cf3f8f0f310f433effef9 (patch) | |
tree | 00b3b09c54e85b858766147c4f0bec5ddfef065f /web/js/nms.js | |
parent | d0fb1a0574ad2cc28814ae2af6bda029866ea894 (diff) |
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.
Diffstat (limited to 'web/js/nms.js')
-rw-r--r-- | web/js/nms.js | 5 |
1 files changed, 4 insertions, 1 deletions
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(); |