diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2012-10-31 01:17:37 +0100 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2012-10-31 01:17:37 +0100 |
commit | 1378ff21cea89531d1d59e656fd32cf5d149f5f4 (patch) | |
tree | 6dd58872c0354b680663dc16e924cb40311bbea3 /js/menu.js | |
parent | e00bc4b65f3bb89ba55bd314167431170872563b (diff) |
set unread items correctly for new items and starred items
Diffstat (limited to 'js/menu.js')
-rw-r--r-- | js/menu.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/menu.js b/js/menu.js index 2b986afac..2d60d9e87 100644 --- a/js/menu.js +++ b/js/menu.js @@ -841,7 +841,7 @@ var News = News || {}; Menu.prototype._applyUnreadCountStyle = function(type, id, unreadCount) { var $node = this._getNodeFromTypeAndId(type, id); - if(type === MenuNodeType.Feed){ + if(type !== MenuNodeType.Folder){ $node.children('.unread_items_counter').html(unreadCount); } |