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);
|
return g.callbacks.push(unread.node);
|
||||||
},
|
},
|
||||||
node: function(root) {
|
node: function(root) {
|
||||||
if (root.className) {
|
if (root.hidden || root.className) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
unread.replies.push(root);
|
unread.replies.push(root);
|
||||||
|
|||||||
@ -1956,7 +1956,7 @@ unread =
|
|||||||
g.callbacks.push unread.node
|
g.callbacks.push unread.node
|
||||||
|
|
||||||
node: (root) ->
|
node: (root) ->
|
||||||
return if root.className
|
return if root.hidden or root.className
|
||||||
unread.replies.push root
|
unread.replies.push root
|
||||||
unread.updateTitle()
|
unread.updateTitle()
|
||||||
Favicon.update()
|
Favicon.update()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user