aboutsummaryrefslogtreecommitdiffstats
path: root/web/nms.gathering.org/js/nms-map.js
diff options
context:
space:
mode:
authorNicolai Tellefsen <niccofyren@gmail.com>2016-03-22 21:00:57 +0100
committerNicolai Tellefsen <niccofyren@gmail.com>2016-03-22 21:00:57 +0100
commit047b729a1e92446a1c5ce68f806b932b79c98642 (patch)
tree98ab6bd537ca550bda2990eb0b90e9407ec0a530 /web/nms.gathering.org/js/nms-map.js
parent83bf82a8388e0207712b1fe9caff8935bcd06d46 (diff)
NMS: Hide infobox when clicking empty canvas area
Diffstat (limited to 'web/nms.gathering.org/js/nms-map.js')
-rw-r--r--web/nms.gathering.org/js/nms-map.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/web/nms.gathering.org/js/nms-map.js b/web/nms.gathering.org/js/nms-map.js
index 33c98b7..7cbf274 100644
--- a/web/nms.gathering.org/js/nms-map.js
+++ b/web/nms.gathering.org/js/nms-map.js
@@ -413,6 +413,8 @@ nmsMap.canvasClick = function(e)
} else {
nmsInfoBox.click(sw);
}
+ } else {
+ nmsInfoBox.hide();
}
};