From 814e6969895e171108b593c26853ac9186580109 Mon Sep 17 00:00:00 2001 From: James Campos Date: Sat, 3 Sep 2011 11:13:34 -0700 Subject: [PATCH] fix cl --- 4chan_x.user.js | 2 +- script.coffee | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index a9696438b..c133f236c 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -1327,7 +1327,7 @@ } } $.set('captchas', captchas); - $('#cl', QR.qr).textContent = captchas.length; + $('#cl', QR.qr).textContent = captchas.length + ' captchas'; return captcha; }, change: function() { diff --git a/script.coffee b/script.coffee index 55e5a6a4d..d175babc1 100644 --- a/script.coffee +++ b/script.coffee @@ -961,6 +961,7 @@ cooldown = qr.autoPost() QR = + #FIXME duplication everywhere init: -> g.callbacks.push (root) -> quote = $ 'a.quotejs + a', root @@ -1032,7 +1033,7 @@ QR = if captcha.time > cutoff break $.set 'captchas', captchas - $('#cl', QR.qr).textContent = captchas.length + $('#cl', QR.qr).textContent = captchas.length + ' captchas' captcha change: -> $.unbind @, 'change', QR.change