Don't add filtered/hidden posts to the unread count.

This commit is contained in:
Nicolas Stepien 2011-09-29 21:27:26 +02:00 committed by James Campos
parent c1682ab23c
commit 3983c2b96b
2 changed files with 2 additions and 2 deletions

View File

@ -2684,7 +2684,7 @@
return g.callbacks.push(unread.node);
},
node: function(root) {
if (root.className) {
if (root.hidden || root.className) {
return;
}
unread.replies.push(root);

View File

@ -1959,7 +1959,7 @@ unread =
g.callbacks.push unread.node
node: (root) ->
return if root.className
return if root.hidden or root.className
unread.replies.push root
unread.updateTitle()
Favicon.update()