Attempt to fix QR not clearing successfully
This commit is contained in:
parent
7fd7c249dc
commit
8570d5e63d
@ -5085,7 +5085,9 @@
|
||||
d.activeElement.blur();
|
||||
$.rmClass(QR.nodes.el, 'dump');
|
||||
if (!Conf['Captcha Warning Notifications']) {
|
||||
$.rmClass(QR.captcha.nodes.input, 'error');
|
||||
if (QR.captcha.isEnabled) {
|
||||
$.rmClass(QR.captcha.nodes.input, 'error');
|
||||
}
|
||||
}
|
||||
if (Conf['QR Shortcut']) {
|
||||
$.toggleClass($('.qr-shortcut'), 'disabled');
|
||||
|
||||
@ -5093,7 +5093,9 @@
|
||||
d.activeElement.blur();
|
||||
$.rmClass(QR.nodes.el, 'dump');
|
||||
if (!Conf['Captcha Warning Notifications']) {
|
||||
$.rmClass(QR.captcha.nodes.input, 'error');
|
||||
if (QR.captcha.isEnabled) {
|
||||
$.rmClass(QR.captcha.nodes.input, 'error');
|
||||
}
|
||||
}
|
||||
if (Conf['QR Shortcut']) {
|
||||
$.toggleClass($('.qr-shortcut'), 'disabled');
|
||||
|
||||
@ -99,7 +99,7 @@ QR =
|
||||
d.activeElement.blur()
|
||||
$.rmClass QR.nodes.el, 'dump'
|
||||
unless Conf['Captcha Warning Notifications']
|
||||
$.rmClass QR.captcha.nodes.input, 'error'
|
||||
$.rmClass QR.captcha.nodes.input, 'error' if QR.captcha.isEnabled
|
||||
if Conf['QR Shortcut']
|
||||
$.toggleClass $('.qr-shortcut'), 'disabled'
|
||||
new QR.post true
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user