diff --git a/4chan_x.user.js b/4chan_x.user.js index 9a665b310..66b391c1b 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -4630,7 +4630,7 @@ return; } $.id('postcount').textContent = ++ThreadStats.posts; - if (!post.img || post.hasPdf) { + if (!post.img) { return; } imgcount = $.id('imagecount'); diff --git a/script.coffee b/script.coffee index 7d8759332..1f41b1973 100644 --- a/script.coffee +++ b/script.coffee @@ -3796,7 +3796,7 @@ ThreadStats = node: (post) -> return if post.isInlined $.id('postcount').textContent = ++ThreadStats.posts - return if (!post.img or post.hasPdf) + return unless post.img imgcount = $.id 'imagecount' imgcount.textContent = ++ThreadStats.images if ThreadStats.images > ThreadStats.imgLimit