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 c1c9d28ce3
commit 66c559cdd8

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") {