This commit is contained in:
James Campos 2011-08-06 20:02:42 -07:00
parent 7310c2e9d3
commit b6866992fb
2 changed files with 2 additions and 3 deletions

View File

@ -1327,7 +1327,7 @@
}
if (qr.el) {
fileDiv = $('#files div:last-child', qr.el);
if (g.REPLY && (conf['Persistent QR'] || file)) {
if (g.REPLY && (conf['Persistent QR'] || fileDiv)) {
qr.refresh();
if (fileDiv) {
$.rm(fileDiv);

View File

@ -966,7 +966,6 @@ cooldown =
qr.autoPost()
qr =
# remove file
# error handling
# persistent captcha
# rm Recaptcha
@ -1077,7 +1076,7 @@ qr =
if qr.el
fileDiv = $ '#files div:last-child', qr.el
if g.REPLY and (conf['Persistent QR'] or file)
if g.REPLY and (conf['Persistent QR'] or fileDiv)
qr.refresh()
if fileDiv
$.rm fileDiv