diff options
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();  | 
