1s delay
This commit is contained in:
parent
e7c77f7cb5
commit
de27220c0d
@ -1409,9 +1409,9 @@
|
||||
tc = data.textContent;
|
||||
if (tc === 'Error: Duplicate file entry detected.') {
|
||||
QR.attachNext();
|
||||
QR.submit();
|
||||
setTimeout(QR.submit, 1000);
|
||||
} else if (tc === 'You seem to have mistyped the verification.') {
|
||||
QR.submit();
|
||||
setTimeout(QR.submit, 1000);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
@ -1103,9 +1103,9 @@ QR =
|
||||
tc = data.textContent
|
||||
if tc is 'Error: Duplicate file entry detected.'
|
||||
QR.attachNext()
|
||||
QR.submit()
|
||||
setTimeout QR.submit, 1000
|
||||
else if tc is 'You seem to have mistyped the verification.'
|
||||
QR.submit()
|
||||
setTimeout QR.submit, 1000
|
||||
return
|
||||
if conf['Persistent QR'] or $('#files input', QR.el)?.files.length
|
||||
QR.reset()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user