This commit is contained in:
Ross
2021-11-11 23:34:15 +00:00
parent 9a86787538
commit 4e769f546a
+4 -1
View File
@@ -130,7 +130,6 @@
$(evt.target).removeClass("image-ident-ok");
ocr(evt.target);
el = evt.target;
@@ -481,6 +480,9 @@
const element = $(`<img class='temp-thumb' src=${url}></div>`).get(0)
$(el).parent().parent().prepend(element);
ocr(el);
$("#drop-filenames").append(
`<span data-input-id='${el.id}'><span>${n}: ${el.files[0].name}</span><img class='uploading${extra_class}' data-input-id='${el.id}' src=${url}></span>`
)
@@ -515,6 +517,7 @@
active_file_inputs.delete(el)
console.log("active", active_file_inputs)
// Only load once all queued files have been processed