Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

ready: Wait for other ready callbacks before marking app loaded.

Anders Kaseorg32df287818ff
diff --git a/static/js/ready.js b/static/js/ready.js
index 1d60d5fdf7c..4af1a7d2f17 100644
--- a/static/js/ready.js
+++ b/static/js/ready.js
@@ -1,3 +1,5 @@
import $ from "jquery";
-$("#app-loading").addClass("loaded");
+$(() => {
+ $("#app-loading").addClass("loaded");
+});