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.

hashchange: Fix flicker when navigating to all messages.

Tim Abbotta3842584dd5b
diff --git a/web/src/hashchange.js b/web/src/hashchange.js
index ca0faac0c33..1055290e76b 100644
--- a/web/src/hashchange.js
+++ b/web/src/hashchange.js
@@ -56,7 +56,7 @@ function show_all_message_view() {
narrow.deactivate(coming_from_recent_view || coming_from_inbox);
// We need to maybe scroll to the selected message
// once we have the proper viewport set up
- setTimeout(message_viewport.maybe_scroll_to_selected, 0);
+ message_viewport.maybe_scroll_to_selected();
}
export function set_hash_to_home_view() {