From 32ea0a2cb573b00137406748da176022ccdb0f91 Mon Sep 17 00:00:00 2001 From: James Campos Date: Fri, 2 Sep 2011 23:14:01 -0700 Subject: [PATCH] display correct captcha length --- 4chan_x.user.js | 1 + script.coffee | 1 + 2 files changed, 2 insertions(+) diff --git a/4chan_x.user.js b/4chan_x.user.js index 58c506d9d..c38f565da 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -1314,6 +1314,7 @@ } } $.set('captchas', captchas); + $('#cl', QR.el).textContent = captchas.length; return captcha; }, change: function() { diff --git a/script.coffee b/script.coffee index 9ca9ecd38..a96aec0e4 100644 --- a/script.coffee +++ b/script.coffee @@ -1022,6 +1022,7 @@ QR = if captcha.time > cutoff break $.set 'captchas', captchas + $('#cl', QR.el).textContent = captchas.length captcha change: -> $.unbind @, 'change', QR.change