diff --git a/js/core.js b/js/core.js index 9e301780..a67cae36 100644 --- a/js/core.js +++ b/js/core.js @@ -455,16 +455,11 @@ define([ $menuPanelElt = $('.menu-panel').collapse({ toggle: false }); - $menuPanelElt.click(function(e) { - console.log(e); - }).find('.panel-content').click(function(e) { - e.stopPropagation(); - }); var menuPanelBackdropElt = undefined; $menuPanelElt.on('show.bs.collapse', function(e) { if(e.target === $menuPanelElt[0]) { isMenuPanelShown = true; - menuPanelBackdropElt = utils.createBackdrop(); + menuPanelBackdropElt = utils.createBackdrop('collapse', '.menu-panel'); $menuPanelElt.addClass('move-to-front'); } else { diff --git a/js/html/bodyIndex.html b/js/html/bodyIndex.html index 9e4d1395..55ddde61 100644 --- a/js/html/bodyIndex.html +++ b/js/html/bodyIndex.html @@ -45,9 +45,9 @@
-