From f94008ce028887f032711b6afb7e5cef9022c851 Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Mon, 23 May 2011 23:50:32 +0200 Subject: [PATCH] Fix image limit count. --- 4chan_x.js | 2 +- script.coffee | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/4chan_x.js b/4chan_x.js index f6bda84c9..50ae2b6b0 100644 --- a/4chan_x.js +++ b/4chan_x.js @@ -1987,7 +1987,7 @@ threadStats.replies++; if ($('img[md5]', root)) { threadStats.images++; - if (threadStats.images > 151) { + if (threadStats.images > 150) { $('#icount').className = 'error'; } } diff --git a/script.coffee b/script.coffee index d0fe0ae60..169d66d04 100644 --- a/script.coffee +++ b/script.coffee @@ -1557,7 +1557,7 @@ threadStats = threadStats.replies++ if $ 'img[md5]', root threadStats.images++ - if threadStats.images > 151 + if threadStats.images > 150 $('#icount').className = 'error' $('#rcount').textContent = threadStats.replies $('#icount').textContent = threadStats.images