Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
reload: Avoid using message_lists.home.
Aman Agrawal19af746ce4d9
diff --git a/web/src/reload.js b/web/src/reload.jsindex 5a2cd3a26c2..7d358cd03b0 100644--- a/web/src/reload.js+++ b/web/src/reload.js@@ -40,9 +40,7 @@ function preserve_state(send_after_reload, save_pointer, save_narrow, save_comporeturn;}- if (!message_lists.home) {- // If we haven't yet initialized the message_lists module,- // we can't preserve state across reloads.+ if (!$("#app-loading").hasClass("loaded")) {blueslip.log("Can't preserve state; message_lists not yet initialized.");return;}