diff options
author | moisseev <moiseev@mezonplus.ru> | 2020-07-26 18:01:15 +0300 |
---|---|---|
committer | moisseev <moiseev@mezonplus.ru> | 2020-07-26 18:01:15 +0300 |
commit | 921d4e2ce19e08d1335a85d8bd22eeb1fce75ca5 (patch) | |
tree | 5729435c0468037beb3ddca6ae6fef180c5a79b6 /interface/js | |
parent | e5b72865d86bdd2606251208123353d766d2aaf0 (diff) | |
download | rspamd-921d4e2ce19e08d1335a85d8bd22eeb1fce75ca5.tar.gz rspamd-921d4e2ce19e08d1335a85d8bd22eeb1fce75ca5.zip |
[WebUI] Add preloader
Diffstat (limited to 'interface/js')
-rw-r--r-- | interface/js/app/rspamd.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/interface/js/app/rspamd.js b/interface/js/app/rspamd.js index 8361bb925..654979fe5 100644 --- a/interface/js/app/rspamd.js +++ b/interface/js/app/rspamd.js @@ -283,6 +283,7 @@ function ($, D3pie, visibility, NProgress, stickyTabs, tab_stat, tab_graph, tab_ $(".ro-hide").show(); } + $("#preloader").addClass("d-none"); $("#navBar, #mainUI").removeClass("d-none"); $(".nav-tabs-sticky").stickyTabs({initialTab:"#status_nav"}); } @@ -434,6 +435,8 @@ function ($, D3pie, visibility, NProgress, stickyTabs, tab_stat, tab_graph, tab_ tab_symbols.setup(ui, tables); tab_upload.setup(ui, tables); selData = tab_graph.setup(ui); + + $("#loading").addClass("d-none"); }; ui.connect = function () { |