fix captcha img derp
This commit is contained in:
parent
a10cac59f7
commit
daa1e0da3a
@ -1294,7 +1294,9 @@
|
||||
captchaNode: function(e) {
|
||||
var c;
|
||||
c = e.target.value;
|
||||
$('img', QR.qr).src = "http://www.google.com/recaptcha/api/image?c=" + c;
|
||||
if (QR.qr) {
|
||||
$('img', QR.qr).src = "http://www.google.com/recaptcha/api/image?c=" + c;
|
||||
}
|
||||
return QR.captcha = {
|
||||
challenge: c,
|
||||
time: Date.now()
|
||||
|
||||
@ -1010,7 +1010,7 @@ QR =
|
||||
$.replace oldFile, file
|
||||
captchaNode: (e) ->
|
||||
c = e.target.value
|
||||
$('img', QR.qr).src = "http://www.google.com/recaptcha/api/image?c=#{c}"
|
||||
$('img', QR.qr).src = "http://www.google.com/recaptcha/api/image?c=#{c}" if QR.qr
|
||||
QR.captcha =
|
||||
challenge: c
|
||||
time: Date.now()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user