Remove double-check of unread count
This same condition is already enforced in the markRead method. // FREEBIE
This commit is contained in:
parent
1c70293bba
commit
7f4ef6e9e7
1 changed files with 1 additions and 3 deletions
|
@ -179,9 +179,7 @@
|
|||
chrome.notifications.clear('signal');
|
||||
Whisper.Notifications.clear();
|
||||
getInboxCollection().each(function(model) {
|
||||
if (model.get('unreadCount') > 0) {
|
||||
model.markRead();
|
||||
}
|
||||
model.markRead();
|
||||
});
|
||||
});
|
||||
chrome.notifications.onClosed.addListener(function(id, byUser) {
|
||||
|
|
Loading…
Reference in a new issue