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.

message_scroll: Remove unnecessary `setTimeout` call.

Aman Agrawal70d9d8c09e4b
diff --git a/web/src/message_scroll.js b/web/src/message_scroll.js
index dba55a6565c..8057faaf983 100644
--- a/web/src/message_scroll.js
+++ b/web/src/message_scroll.js
@@ -96,7 +96,7 @@ export function scroll_finished() {
// enter the screen and become read. Calling
// unread_ops.process_visible will update necessary
// data structures and DOM elements.
- setTimeout(unread_ops.process_visible, 0);
+ unread_ops.process_visible();
} else {
message_scroll_state.set_update_selection_on_next_scroll(true);
}