From 92eecedc8a52b0ba814daddb5167449a2ebb7f26 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 1 Dec 2019 21:13:14 +0100 Subject: luci-theme-material: render menu on client side Signed-off-by: Jo-Philipp Wich --- themes/luci-theme-material/htdocs/luci-static/material/js/script.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'themes/luci-theme-material/htdocs/luci-static/material') 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); +}); -- cgit v1.2.3