This commit is contained in:
James Campos 2011-09-02 23:21:12 -07:00
parent e7c77f7cb5
commit de27220c0d
2 changed files with 4 additions and 4 deletions

View File

@ -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;
}

View File

@ -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()