ui_init: Move loaded indicator to initialize_everything.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2022-05-04 17:27:05 -07:00
committed by Tim Abbott
parent 2e86ea6540
commit 44fcb6009b
3 changed files with 3 additions and 7 deletions

View File

@@ -17,7 +17,6 @@ import "../notifications";
import "../server_events";
import "../templates";
import "../settings";
import "../ui_init";
import "../desktop_integration";
import "../zulip_test";
@@ -56,4 +55,4 @@ import "../../styles/user_status.css";
import "../../styles/widgets.css";
// This should be last.
import "../ready";
import "../ui_init";

View File

@@ -1,5 +0,0 @@
import $ from "jquery";
$(() => {
$("#app-loading").addClass("loaded");
});

View File

@@ -679,6 +679,8 @@ export function initialize_everything() {
user_status_ui.initialize();
fenced_code.initialize(generated_pygments_data);
message_edit_history.initialize();
$("#app-loading").addClass("loaded");
}
$(() => {