Permalink
Browse files

Fixed "JavaScript Error : checkHideMenu" on worldmaps when header is …

…disabled (Fixes #162, #111)
  • Loading branch information...
LarsMichelsen committed Sep 7, 2018
1 parent 2c51559 commit a55d9d4ce09b02de0ba7d1ead4f853a74ccce87d
Showing with 3 additions and 1 deletion.
  1. +2 −0 ChangeLog
  2. +1 −1 share/frontend/nagvis-js/js/ViewWorldmap.js
View
@@ -4,6 +4,8 @@ Frontend:
trying to interact with the map while it is initially loading
* FIX: Fixed incompatibility with PHP 7.2 when creating new users
* FIX: Fixed loading sounds when using non standard HTTP/HTTPS ports
* FIX: Fixed "JavaScript Error : checkHideMenu" on worldmaps when header is
disabled
1.9.8
Frontend:
@@ -77,7 +77,7 @@ var ViewWorldmap = ViewMap.extend({
g_map.on('moveend', this.handleMoveEnd.bind(this));
// hide eventual open header dropdown menus when clicking on the map
if (checkHideMenu)
if (typeof checkHideMenu !== "undefined")
g_map.on('mousedown', checkHideMenu);
g_map.on('mousedown', context_handle_global_mousedown);
},

0 comments on commit a55d9d4

Please sign in to comment.