summaryrefslogtreecommitdiffhomepage
path: root/themes/luci-theme-material/htdocs
diff options
context:
space:
mode:
Diffstat (limited to 'themes/luci-theme-material/htdocs')
-rwxr-xr-xthemes/luci-theme-material/htdocs/luci-static/material/js/script.js2
1 files changed, 2 insertions, 0 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 755191f335..ae39d00751 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
@@ -18,6 +18,7 @@
* Licensed to the public under the Apache License 2.0
*/
+document.addEventListener('luci-loaded', function(ev) {
(function ($) {
$(".main > .loading").fadeOut();
@@ -216,3 +217,4 @@
}
})(jQuery);
+});