mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 00:46:03 +00:00
reload: Avoid using message_lists.home.
This commit is contained in:
@@ -40,9 +40,7 @@ function preserve_state(send_after_reload, save_pointer, save_narrow, save_compo
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!message_lists.home) {
|
if (!$("#app-loading").hasClass("loaded")) {
|
||||||
// If we haven't yet initialized the message_lists module,
|
|
||||||
// we can't preserve state across reloads.
|
|
||||||
blueslip.log("Can't preserve state; message_lists not yet initialized.");
|
blueslip.log("Can't preserve state; message_lists not yet initialized.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user