diff --git a/rapids/templates/rapids/rapid_form.html b/rapids/templates/rapids/rapid_form.html
index c904bbf0..bdca53a0 100755
--- a/rapids/templates/rapids/rapid_form.html
+++ b/rapids/templates/rapids/rapid_form.html
@@ -130,7 +130,6 @@
$(evt.target).removeClass("image-ident-ok");
- ocr(evt.target);
el = evt.target;
@@ -481,6 +480,9 @@
const element = $(`
`).get(0)
$(el).parent().parent().prepend(element);
+
+ ocr(el);
+
$("#drop-filenames").append(
`${n}: ${el.files[0].name}`
)
@@ -515,6 +517,7 @@
+
active_file_inputs.delete(el)
console.log("active", active_file_inputs)
// Only load once all queued files have been processed