diff --git a/4chan_x.user.js b/4chan_x.user.js index ac78a73ab..9c02de00e 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -1338,7 +1338,7 @@ if ((el = $('#recaptcha_response_field', QR.el)).value) { QR.captchaPush(el); } - if (!(captcha = captchaShift())) { + if (!(captcha = QR.captchaShift())) { alert('You forgot to type in the verification.'); e.preventDefault(); return; diff --git a/script.coffee b/script.coffee index a52ccaef1..1aef56b56 100644 --- a/script.coffee +++ b/script.coffee @@ -1055,7 +1055,7 @@ QR = $('.error', qr.el).textContent = '' if (el = $('#recaptcha_response_field', QR.el)).value QR.captchaPush el - if not captcha = captchaShift() + if not captcha = QR.captchaShift() alert 'You forgot to type in the verification.' e.preventDefault() return