From 3db9b24e84b96d9c5f8fa536002059111a774d7b Mon Sep 17 00:00:00 2001 From: benweet Date: Sun, 25 Aug 2013 22:38:44 +0200 Subject: [PATCH] Upgrade to Bootstrap 3 --- js/core.js | 7 +------ js/html/bodyIndex.html | 6 +++--- js/styles/main.less | 14 ++++++-------- js/utils.js | 4 +--- 4 files changed, 11 insertions(+), 20 deletions(-) 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 @@
-