diff --git a/4chan_x.user.js b/4chan_x.user.js
index d6eaa7c78..2fc09467c 100644
--- a/4chan_x.user.js
+++ b/4chan_x.user.js
@@ -1257,7 +1257,7 @@
if (!responseField.value && (captcha = qr.captcha.shift())) {
$('#recaptcha_challenge_field', qr.el).value = captcha.challenge;
responseField.value = captcha.response;
- responseField.nextSibling.textContent = qr.captcha.length;
+ responseField.nextSibling.textContent = qr.captcha.length + ' captcha cached';
}
return qr.submit.call($('form', qr.el));
},
@@ -1290,7 +1290,7 @@
THREAD_ID = g.THREAD_ID || $.x('ancestor::div[@class="thread"]/div', link).id;
spoiler = $('.postarea label') ? '' : '';
challenge = $('#recaptcha_challenge_field').value;
- html = " X
Quick Reply
";
+ html = " X Quick Reply
";
qr.el = ui.dialog('qr', {
top: '0px',
left: '0px'
@@ -1347,10 +1347,12 @@
return $.bind(quote, 'click', qr.quote);
},
push: function() {
- this.nextSibling.textContent = qr.captcha.push({
+ var l;
+ l = qr.captcha.push({
challenge: $('#recaptcha_challenge_field', qr.el).value,
response: this.value
});
+ this.nextSibling.textContent = l + ' captcha cached';
Recaptcha.reload();
return this.value = '';
},
diff --git a/script.coffee b/script.coffee
index cc84430da..e08b51d98 100644
--- a/script.coffee
+++ b/script.coffee
@@ -997,7 +997,7 @@ qr =
if !responseField.value and captcha = qr.captcha.shift()
$('#recaptcha_challenge_field', qr.el).value = captcha.challenge
responseField.value = captcha.response
- responseField.nextSibling.textContent = qr.captcha.length
+ responseField.nextSibling.textContent = qr.captcha.length + ' captcha cached'
qr.submit.call $ 'form', qr.el
captchaNode: (e) ->
@@ -1037,7 +1037,7 @@ qr =
-
+ 0 captcha cached
@@ -1092,9 +1092,10 @@ qr =
$.bind quote, 'click', qr.quote
push: ->
- @nextSibling.textContent = qr.captcha.push
+ l = qr.captcha.push
challenge: $('#recaptcha_challenge_field', qr.el).value
response: @value
+ @nextSibling.textContent = l + ' captcha cached'
Recaptcha.reload()
@value = ''