mirror of
https://github.com/zulip/zulip.git
synced 2025-11-08 07:52:19 +00:00
Unify calculation of unread-count for notifications and use it in the title bar
Fixes trac #1004 (imported from commit 6f04d1d3ded198b46cc2ff1733b94b5c17beb581)
This commit is contained in:
@@ -530,8 +530,10 @@ $(function () {
|
||||
} else if (!have_scrolled_away_from_top) {
|
||||
have_scrolled_away_from_top = true;
|
||||
}
|
||||
// When the window scrolls, it may cause some messages to go off the screen
|
||||
// When the window scrolls, it may cause some messages to
|
||||
// enter the screen and become read
|
||||
notifications_bar.update();
|
||||
notifications.update_title_count();
|
||||
|
||||
var new_selected = current_msg_list.selected_id();
|
||||
if (scroll_start_message === undefined) {
|
||||
|
||||
Reference in New Issue
Block a user