summaryrefslogtreecommitdiffhomepage
path: root/themes/luci-theme-material/htdocs/luci-static/material
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2019-12-01 21:13:14 +0100
committerJo-Philipp Wich <jo@mein.io>2019-12-16 18:07:17 +0100
commit92eecedc8a52b0ba814daddb5167449a2ebb7f26 (patch)
tree221e461c70fa5c358899bb28156a200bba7efbfd /themes/luci-theme-material/htdocs/luci-static/material
parentebc99a6ab30d1b563b1e073df93006504cdc80ae (diff)
luci-theme-material: render menu on client side
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'themes/luci-theme-material/htdocs/luci-static/material')
-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);
+});