mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 15:03:34 +00:00
Reset the new message count whenever the user mouses over the window
(imported from commit 5813398dbc59acc9f9e53c1e0631fc7d327de50d)
This commit is contained in:
@@ -37,6 +37,9 @@ exports.initialize = function () {
|
||||
});
|
||||
}).blur(function () {
|
||||
window_has_focus = false;
|
||||
}).mouseover(function () {
|
||||
new_message_count = 0;
|
||||
document.title = domain + " - Humbug";
|
||||
});
|
||||
|
||||
if (!window.webkitNotifications) {
|
||||
|
||||
Reference in New Issue
Block a user