summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xthemes/luci-theme-material/htdocs/luci-static/material/js/script.js18
1 files changed, 0 insertions, 18 deletions
diff --git a/themes/luci-theme-material/htdocs/luci-static/material/js/script.js b/themes/luci-theme-material/htdocs/luci-static/material/js/script.js
index 3c25ed712d..db9c99e118 100755
--- a/themes/luci-theme-material/htdocs/luci-static/material/js/script.js
+++ b/themes/luci-theme-material/htdocs/luci-static/material/js/script.js
@@ -131,24 +131,6 @@
$(".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
*/