Merge pull request #2583 from TDT-AG/pr/20180227-luci-theme-material
[project/luci.git] / themes / luci-theme-material / htdocs / luci-static / material / js / script.js
index 3c25ed712def04aa6d0fc03d7c3049f4bc53247c..db9c99e118d26acaa0105d991fc327da3ed7a7cc 100755 (executable)
     $(".cbi-button-up").val("");
     $(".cbi-button-down").val("");
 
-
-    /**
-     * hook other "A Label" and add hash to it.
-     */
-    $("#maincontent > .container").find("a").each(function () {
-        var that = $(this);
-        var onclick = that.attr("onclick");
-        if (onclick == undefined || onclick == "") {
-            that.click(function () {
-                var href = that.attr("href");
-                if (href.indexOf("#") == -1) {
-                    $(".main > .loading").fadeIn("fast");
-                    return true;
-                }
-            });
-        }
-    });
-
     /**
      * Sidebar expand
      */