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.

compose: Leave scroll-to-message banner open until explicitly closed.

evykassirere789e7aa4fee
diff --git a/static/js/notifications.js b/static/js/notifications.js
index 6cd7d6ea155..cf66b6dfc80 100644
--- a/static/js/notifications.js
+++ b/static/js/notifications.js
@@ -624,9 +624,6 @@ export function notify_local_mixes(messages, need_user_to_scroll) {
link_msg_id,
link_text,
);
- setTimeout(() => {
- $("#out-of-view-notification").hide();
- }, 3000);
}
// This is the HAPPY PATH--for most messages we do nothing
@@ -718,6 +715,7 @@ export function register_click_handlers() {
const message_id = $(e.currentTarget).data("message-id");
message_lists.current.select_id(message_id);
navigate.scroll_to_selected();
+ $("#out-of-view-notification").hide();
e.stopPropagation();
e.preventDefault();
});