aboutsummaryrefslogtreecommitdiffstats
path: root/themes/elegant/scripts.js
diff options
context:
space:
mode:
authorflop25 <flop25@piwigo.org>2013-06-25 19:07:57 +0000
committerflop25 <flop25@piwigo.org>2013-06-25 19:07:57 +0000
commit0ab005934422e0d5179d0141d9abf77066f81f03 (patch)
tree31b8e17822926da25990f968f094dbd59142332d /themes/elegant/scripts.js
parent067b4c567cf4dec8af200caa227d4d39aa0f96e2 (diff)
[elegant]
when disabling the animation of the main menu, make sure the menu will be showed git-svn-id: http://piwigo.org/svn/trunk@23535 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'themes/elegant/scripts.js')
-rw-r--r--themes/elegant/scripts.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/themes/elegant/scripts.js b/themes/elegant/scripts.js
index 86a43a1eb..a6c80c7f0 100644
--- a/themes/elegant/scripts.js
+++ b/themes/elegant/scripts.js
@@ -73,9 +73,10 @@ jQuery("document").ready(function(jQuery){
return false;
}
});
-
-
- }
+ }
+ else if (menubar.length == 1 && p_main_menu=="disabled") {
+ showMenu(0);
+ }
});