Don't add filtered/hidden posts to the unread count.
This commit is contained in:
parent
0bd570e375
commit
599b24e7f2
@ -2681,7 +2681,7 @@
|
||||
return g.callbacks.push(unread.node);
|
||||
},
|
||||
node: function(root) {
|
||||
if (root.className) {
|
||||
if (root.hidden || root.className) {
|
||||
return;
|
||||
}
|
||||
unread.replies.push(root);
|
||||
|
||||
@ -1956,7 +1956,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