This commit is contained in:
James Campos 2013-01-16 02:31:48 -08:00
parent 92adcaf28a
commit 1b81a79105
2 changed files with 2 additions and 2 deletions

View File

@ -4630,7 +4630,7 @@
return;
}
$.id('postcount').textContent = ++ThreadStats.posts;
if (!post.img || post.hasPdf) {
if (!post.img) {
return;
}
imgcount = $.id('imagecount');

View File

@ -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