From 3d2d6c819813b8391a3d6139479f631b13ba7a8d Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Sat, 28 May 2011 20:12:01 +0200 Subject: [PATCH] Fix wrong selector id. --- 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 bccbc89e8..2cb9ee6c7 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -2014,7 +2014,7 @@ if ($('img[md5]', root)) { threadStats.images++; if (threadStats.images > 150) { - $('#icount').className = 'error'; + $('#imagecount').className = 'error'; } } $('#postcount').textContent = threadStats.posts; diff --git a/script.coffee b/script.coffee index 9a0f96809..e65fbc8c3 100644 --- a/script.coffee +++ b/script.coffee @@ -1571,7 +1571,7 @@ threadStats = if $ 'img[md5]', root threadStats.images++ if threadStats.images > 150 - $('#icount').className = 'error' + $('#imagecount').className = 'error' $('#postcount').textContent = threadStats.posts $('#imagecount').textContent = threadStats.images