From 491721e049f41c89e78eb6ad7029dc13617add97 Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Sun, 24 Feb 2013 15:51:04 +0100 Subject: [PATCH] Fix captcha posting. #932 --- 4chan_x.user.js | 4 ++-- src/qr.coffee | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index 3471cadb9..7f1647b66 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -6499,8 +6499,8 @@ challenge = captcha.challenge; response = captcha.response; } else { - challenge = QR.captcha.img.alt; - if (response = QR.captcha.input.value) { + challenge = QR.captcha.nodes.img.alt; + if (response = QR.captcha.nodes.input.value) { QR.captcha.reload(); } } diff --git a/src/qr.coffee b/src/qr.coffee index c3dc3f331..ca10ac12e 100644 --- a/src/qr.coffee +++ b/src/qr.coffee @@ -704,8 +704,8 @@ QR = challenge = captcha.challenge response = captcha.response else - challenge = QR.captcha.img.alt - if response = QR.captcha.input.value then QR.captcha.reload() + challenge = QR.captcha.nodes.img.alt + if response = QR.captcha.nodes.input.value then QR.captcha.reload() $.set 'captchas', captchas QR.captcha.count captchas unless response