diff --git a/4chan_x.user.js b/4chan_x.user.js index 08c0b61d7..0d5f7b913 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -2275,8 +2275,8 @@ left: '0px' }, html); dialog.className = 'dialog'; - threadStats.postcountID = $('#postcount', dialog); - threadStats.imagecountID = $('#imagecount', dialog); + threadStats.postcountEl = $('#postcount', dialog); + threadStats.imagecountEl = $('#imagecount', dialog); $.append(d.body, dialog); return g.callbacks.push(threadStats.node); }, @@ -2284,11 +2284,11 @@ if (root.className) { return; } - threadStats.postcountID.textContent = ++threadStats.posts; + threadStats.postcountEl.textContent = ++threadStats.posts; if ($('img[md5]', root)) { - threadStats.imagecountID.textContent = ++threadStats.images; + threadStats.imagecountEl.textContent = ++threadStats.images; if (threadStats.images > 150) { - return threadStats.imagecountID.className = 'error'; + return threadStats.imagecountEl.className = 'error'; } } } diff --git a/script.coffee b/script.coffee index 6ab1d836b..85bcab54b 100644 --- a/script.coffee +++ b/script.coffee @@ -1746,17 +1746,17 @@ threadStats = html = "