Fix wrong selector id.

This commit is contained in:
Nicolas Stepien 2011-05-28 20:12:01 +02:00
parent b1a30be78c
commit 3d2d6c8198
2 changed files with 2 additions and 2 deletions

View File

@ -2014,7 +2014,7 @@
if ($('img[md5]', root)) { if ($('img[md5]', root)) {
threadStats.images++; threadStats.images++;
if (threadStats.images > 150) { if (threadStats.images > 150) {
$('#icount').className = 'error'; $('#imagecount').className = 'error';
} }
} }
$('#postcount').textContent = threadStats.posts; $('#postcount').textContent = threadStats.posts;

View File

@ -1571,7 +1571,7 @@ threadStats =
if $ 'img[md5]', root if $ 'img[md5]', root
threadStats.images++ threadStats.images++
if threadStats.images > 150 if threadStats.images > 150
$('#icount').className = 'error' $('#imagecount').className = 'error'
$('#postcount').textContent = threadStats.posts $('#postcount').textContent = threadStats.posts
$('#imagecount').textContent = threadStats.images $('#imagecount').textContent = threadStats.images