From 9ca24963f53cb4f3447adcfef4ea1630ea333b37 Mon Sep 17 00:00:00 2001 From: benweet Date: Sun, 25 Aug 2013 01:42:35 +0200 Subject: [PATCH] Upgrade to Bootstrap 3 --- js/classes/AsyncTask.js | 4 ++-- js/core.js | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/js/classes/AsyncTask.js b/js/classes/AsyncTask.js index c2a152e0..3d09f25a 100644 --- a/js/classes/AsyncTask.js +++ b/js/classes/AsyncTask.js @@ -140,7 +140,7 @@ define([ } // Use defer to avoid stack overflow - _.defer(function() { + //_.defer(function() { // If there is a task currently running if(currentTaskRunning === true) { @@ -171,7 +171,7 @@ define([ currentTaskRunning = true; currentTask.chain(); } - }); + //}); } // Call runTask periodically diff --git a/js/core.js b/js/core.js index a67cae36..90d722ab 100644 --- a/js/core.js +++ b/js/core.js @@ -459,8 +459,8 @@ define([ $menuPanelElt.on('show.bs.collapse', function(e) { if(e.target === $menuPanelElt[0]) { isMenuPanelShown = true; - menuPanelBackdropElt = utils.createBackdrop('collapse', '.menu-panel'); - $menuPanelElt.addClass('move-to-front'); + //menuPanelBackdropElt = utils.createBackdrop('collapse', '.menu-panel'); + //$menuPanelElt.addClass('move-to-front'); } else { // Close all open sub-menus when one submenu opens @@ -469,8 +469,8 @@ define([ }).on('hide.bs.collapse', function(e) { if(e.target === $menuPanelElt[0]) { isMenuPanelShown = false; - menuPanelBackdropElt.remove(); - $menuPanelElt.removeClass('move-to-front'); + //menuPanelBackdropElt.remove(); + //$menuPanelElt.removeClass('move-to-front'); } }).on('hidden.bs.collapse', function(e) { if(e.target === $menuPanelElt[0]) {