mirror of
https://github.com/Piwigo/piwigo-elegant.git
synced 2026-08-07 09:22:42 +02:00
[elegant] changing configuration while the menu is hidden generates content overlap
git-svn-id: http://piwigo.org/svn/trunk@26114 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -6,13 +6,6 @@
|
||||
content=jQuery("#the_page > .content"),
|
||||
pcontent=jQuery("#content");
|
||||
|
||||
if (session_storage['page-menu'] == 'hidden') {
|
||||
jQuery("head").append('<style>#the_page #menubar {display:none;} #content.contentWithMenu, #the_page > .content {margin-left:35px;}</style>');
|
||||
}
|
||||
else {
|
||||
jQuery("head").append('<style>#content.contentWithMenu, #the_page > .content {margin-left:240px;}</style>');
|
||||
}
|
||||
|
||||
function hideMenu(delay) {
|
||||
menubar.hide(delay);
|
||||
menuswitcher.addClass("menuhidden").removeClass("menushown");
|
||||
|
||||
Reference in New Issue
Block a user