luci-theme-material: fix some style bugs
[project/luci.git] / themes / luci-theme-material / htdocs / luci-static / material / js / script.js
index d402728..03e5739 100755 (executable)
@@ -57,7 +57,7 @@
         var ret = false;
         if (!$('body').hasClass('logged-in')) {
             luciLocation = ["Main", "Login"];
-            return false;
+            return true;
         }
 
         $(".main > .main-left > .nav > .slide > .menu").each(function () {