Merge pull request #128 from MayhemYDG/master

Fix image limit count.
This commit is contained in:
James Campos 2011-05-23 15:05:37 -07:00
commit 86fc2b9ce7
2 changed files with 2 additions and 2 deletions

View File

@ -1987,7 +1987,7 @@
threadStats.replies++; threadStats.replies++;
if ($('img[md5]', root)) { if ($('img[md5]', root)) {
threadStats.images++; threadStats.images++;
if (threadStats.images > 151) { if (threadStats.images > 150) {
$('#icount').className = 'error'; $('#icount').className = 'error';
} }
} }

View File

@ -1557,7 +1557,7 @@ threadStats =
threadStats.replies++ threadStats.replies++
if $ 'img[md5]', root if $ 'img[md5]', root
threadStats.images++ threadStats.images++
if threadStats.images > 151 if threadStats.images > 150
$('#icount').className = 'error' $('#icount').className = 'error'
$('#rcount').textContent = threadStats.replies $('#rcount').textContent = threadStats.replies
$('#icount').textContent = threadStats.images $('#icount').textContent = threadStats.images