Handle captcha errors with a new captcha!
This commit is contained in:
parent
29a26680a1
commit
5317db355d
@ -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 {
|
||||
|
||||
@ -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 {
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user