Don't add filtered/hidden posts to the unread count.
This commit is contained in:
parent
c1682ab23c
commit
3983c2b96b
@ -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);
|
||||
|
||||
@ -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()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user