From 1b81a791051ca552af958a87dde2b30007aaa7db Mon Sep 17 00:00:00 2001 From: James Campos Date: Wed, 16 Jan 2013 02:31:48 -0800 Subject: [PATCH] tweak --- 4chan_x.user.js | 2 +- script.coffee | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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