fixes #326, no more JS broken when elegant menu switcher is disabled

This commit is contained in:
plegall
2017-04-10 12:16:08 +02:00
parent f7aadd8e29
commit 9f7363f12c
-3
View File
@@ -87,9 +87,6 @@
e.preventDefault();
});
}
else if (menubar.length == 1 && p_main_menu=="disabled") {
showMenu(0);
}
// info show/hide
if (imageInfos.length == 1 && p_pict_descr!="disabled") {