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