From 047b729a1e92446a1c5ce68f806b932b79c98642 Mon Sep 17 00:00:00 2001 From: Nicolai Tellefsen Date: Tue, 22 Mar 2016 21:00:57 +0100 Subject: NMS: Hide infobox when clicking empty canvas area --- web/nms.gathering.org/js/nms-map.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'web/nms.gathering.org/js/nms-map.js') 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(); } }; -- cgit v1.2.3