From 2381c1c44fdbc7f7347741a2ebd55f30b641f421 Mon Sep 17 00:00:00 2001 From: flop25 Date: Tue, 25 Jun 2013 19:07:57 +0000 Subject: [PATCH] [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 --- scripts.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts.js b/scripts.js index 86a43a1..a6c80c7 100644 --- a/scripts.js +++ b/scripts.js @@ -73,9 +73,10 @@ jQuery("document").ready(function(jQuery){ return false; } }); - - - } + } + else if (menubar.length == 1 && p_main_menu=="disabled") { + showMenu(0); + } });