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