.
This commit is contained in:
@@ -130,7 +130,6 @@
|
|||||||
$(evt.target).removeClass("image-ident-ok");
|
$(evt.target).removeClass("image-ident-ok");
|
||||||
|
|
||||||
|
|
||||||
ocr(evt.target);
|
|
||||||
|
|
||||||
el = evt.target;
|
el = evt.target;
|
||||||
|
|
||||||
@@ -481,6 +480,9 @@
|
|||||||
const element = $(`<img class='temp-thumb' src=${url}></div>`).get(0)
|
const element = $(`<img class='temp-thumb' src=${url}></div>`).get(0)
|
||||||
$(el).parent().parent().prepend(element);
|
$(el).parent().parent().prepend(element);
|
||||||
|
|
||||||
|
|
||||||
|
ocr(el);
|
||||||
|
|
||||||
$("#drop-filenames").append(
|
$("#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>`
|
`<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)
|
active_file_inputs.delete(el)
|
||||||
console.log("active", active_file_inputs)
|
console.log("active", active_file_inputs)
|
||||||
// Only load once all queued files have been processed
|
// Only load once all queued files have been processed
|
||||||
|
|||||||
Reference in New Issue
Block a user