Rebased from upstream / out of band repository.
[librecmc/librecmc.git] / package / luci / themes / luci-theme-material / htdocs / luci-static / material / js / script.js
index 583d66d91f531c01686f41a3a467c0b3b15146fb..3c25ed712def04aa6d0fc03d7c3049f4bc53247c 100755 (executable)
@@ -35,6 +35,7 @@
 
     var nodeUrl = "";
     (function(node){
+        var luciLocation;
         if (node[0] == "admin"){
             luciLocation = [node[1], node[2]];
         }else{
             $(".main-left").stop(true).animate({
                 width: "0"
             }, "fast");
-            $(".main-right").css("overflow-y", "auto");
+            $(".main-right").css("overflow-y", "visible");
             showSide = false;
         } else {
             $(".darkMask").stop(true).fadeIn("fast");
             $(".main-left").stop(true).animate({
                 width: "0"
             }, "fast");
-            $(".main-right").css("overflow-y", "auto");
+            $(".main-right").css("overflow-y", "visible");
         }
     });