diff options
author | Jo-Philipp Wich <jo@mein.io> | 2019-12-01 21:13:14 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2019-12-16 18:07:17 +0100 |
commit | 92eecedc8a52b0ba814daddb5167449a2ebb7f26 (patch) | |
tree | 221e461c70fa5c358899bb28156a200bba7efbfd /themes/luci-theme-material/htdocs/luci-static/material | |
parent | ebc99a6ab30d1b563b1e073df93006504cdc80ae (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-x | themes/luci-theme-material/htdocs/luci-static/material/js/script.js | 2 |
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); +}); |