don't cache captcha when autoposting
This commit is contained in:
parent
2ba552c59a
commit
d66a161f70
@ -1492,7 +1492,7 @@
|
||||
}
|
||||
qr = QR.qr;
|
||||
$('.error', qr).textContent = '';
|
||||
if ((el = $('#recaptcha_response_field', qr)).value) {
|
||||
if (e && (el = $('#recaptcha_response_field', qr)).value) {
|
||||
QR.captchaPush(el);
|
||||
}
|
||||
if (!(captcha = QR.captchaShift())) {
|
||||
|
||||
@ -1166,7 +1166,7 @@ QR =
|
||||
return
|
||||
{qr} = QR
|
||||
$('.error', qr).textContent = ''
|
||||
if (el = $('#recaptcha_response_field', qr)).value
|
||||
if e and (el = $('#recaptcha_response_field', qr)).value
|
||||
QR.captchaPush el
|
||||
if not captcha = QR.captchaShift()
|
||||
alert 'You forgot to type in the verification.'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user