Handle captcha errors with a new captcha!

This commit is contained in:
Zixaphir 2014-04-05 01:02:43 -07:00 committed by ccd0
parent 29a26680a1
commit 5317db355d
3 changed files with 3 additions and 0 deletions

View File

@ -5787,6 +5787,7 @@
}
if (QR.captcha.isEnabled && /captcha|verification/i.test(el.textContent)) {
QR.captcha.nodes.input.focus();
QR.captcha.setup();
if (Conf['Captcha Warning Notifications'] && !d.hidden) {
QR.notify(el);
} else {

View File

@ -5822,6 +5822,7 @@
}
if (QR.captcha.isEnabled && /captcha|verification/i.test(el.textContent)) {
QR.captcha.nodes.input.focus();
QR.captcha.setup();
if (Conf['Captcha Warning Notifications'] && !d.hidden) {
QR.notify(el);
} else {

View File

@ -150,6 +150,7 @@ QR =
if QR.captcha.isEnabled and /captcha|verification/i.test el.textContent
# Focus the captcha input on captcha error.
QR.captcha.nodes.input.focus()
QR.captcha.setup()
if Conf['Captcha Warning Notifications'] and !d.hidden
QR.notify el
else