diff --git a/4chan_x.user.js b/4chan_x.user.js index e9db8594b..d91522266 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -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); diff --git a/script.coffee b/script.coffee index d77172822..87b669c0e 100644 --- a/script.coffee +++ b/script.coffee @@ -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()