From 66c559cdd803dc1c63c12f5edeb2bccb8de922ea Mon Sep 17 00:00:00 2001 From: plegall Date: Mon, 10 Apr 2017 12:16:08 +0200 Subject: [PATCH] fixes #326, no more JS broken when elegant menu switcher is disabled --- scripts_pp.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/scripts_pp.js b/scripts_pp.js index c518582..6accab0 100644 --- a/scripts_pp.js +++ b/scripts_pp.js @@ -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") {