summaryrefslogtreecommitdiffhomepage
path: root/themes/luci-theme-material
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2019-04-06 20:18:48 +0200
committerGitHub <noreply@github.com>2019-04-06 20:18:48 +0200
commit6c83231b19467b8866552ea1b735d8575e5ccf6f (patch)
tree5550517526ad0371b97cc61f3e048fba1d2bcb82 /themes/luci-theme-material
parent71d9140680e3b1db7bd1cb2d9be2b472652d673b (diff)
parente77430d8bb520b7ea588ee9902d59cf963f4db6f (diff)
Merge pull request #2583 from TDT-AG/pr/20180227-luci-theme-material
luci-theme-material: fix loading view on href
Diffstat (limited to 'themes/luci-theme-material')
-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
*/