diff options
author | mistic100 <mistic@piwigo.org> | 2013-12-22 17:45:13 +0000 |
---|---|---|
committer | mistic100 <mistic@piwigo.org> | 2013-12-22 17:45:13 +0000 |
commit | bb20bfc9ea3c8d73d52c5091a8a5e730817b6e02 (patch) | |
tree | ce92e4cbf72d1cdf4a0d782931847318133f3731 /themes/elegant/scripts.js | |
parent | 77ec43f9f059f2fbb141cf6e4313dd6153808a6e (diff) |
[elegant] panes state conflict due to last changes
git-svn-id: http://piwigo.org/svn/trunk@26087 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | themes/elegant/scripts.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/themes/elegant/scripts.js b/themes/elegant/scripts.js index 172d6d8e3..6f7629d79 100644 --- a/themes/elegant/scripts.js +++ b/themes/elegant/scripts.js @@ -33,7 +33,11 @@ if (menubar.length == 1 && p_main_menu!="disabled") { menuswitcher.html('<div class="switchArrow"> </div>'); - if (session_storage['page-menu'] == 'hidden' || p_main_menu == 'off') { + if (session_storage['page-menu'] == undefined && p_main_menu == 'off') { + session_storage['page-menu'] = 'hidden'; + } + + if (session_storage['page-menu'] == 'hidden') { hideMenu(0); } else { |