diff --git a/4chan_x.user.js b/4chan_x.user.js index 9cec3a752..5282eedc4 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -1297,7 +1297,7 @@ return; } c = QR.captcha.challenge; - return $('img', qr).src = "http://www.google.com/recaptcha/api/image?c=" + c; + return $('#captcha img', qr).src = "http://www.google.com/recaptcha/api/image?c=" + c; }, captchaPush: function(el) { var captcha, captchas; @@ -1414,7 +1414,7 @@ QR.qr = qr = ui.dialog('qr', { top: '0', left: '0' - }, " X
Subject Name Email
120 Captchas
Derp
"); + }, "
X
Subject Name Email
120 Captchas
Derp
"); c = d.cookie; $('[name=name]', qr).value = (m = c.match(/4chan_name=([^;]+)/)) ? decodeURIComponent(m[1]) : ''; $('[name=email]', qr).value = (m = c.match(/4chan_email=([^;]+)/)) ? decodeURIComponent(m[1]) : ''; diff --git a/script.coffee b/script.coffee index d29730ca8..03e4b4063 100644 --- a/script.coffee +++ b/script.coffee @@ -1013,7 +1013,7 @@ QR = {qr} = QR return unless qr c = QR.captcha.challenge - $('img', qr).src = "http://www.google.com/recaptcha/api/image?c=#{c}" + $('#captcha img', qr).src = "http://www.google.com/recaptcha/api/image?c=#{c}" captchaPush: (el) -> {captcha} = QR captcha.response = el.value @@ -1115,12 +1115,12 @@ QR = -
+
+
120 Captchas
-