diff --git a/4chan_x.user.js b/4chan_x.user.js index 323018650..33d89e52b 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -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); diff --git a/script.coffee b/script.coffee index 30e5a2b5c..d2bdce529 100644 --- a/script.coffee +++ b/script.coffee @@ -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()