Reset the new message count whenever the user mouses over the window

(imported from commit 5813398dbc59acc9f9e53c1e0631fc7d327de50d)
This commit is contained in:
Jeff Arnold
2013-01-21 14:43:26 -05:00
parent 621dbcaac0
commit bb19978397

View File

@@ -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) {