Upgrade to Bootstrap 3
This commit is contained in:
parent
a31075ce73
commit
9ca24963f5
@ -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
|
||||
|
@ -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]) {
|
||||
|
Loading…
Reference in New Issue
Block a user