diff --git a/rapids/templates/rapids/rapid_form.html b/rapids/templates/rapids/rapid_form.html index b5c291b0..a1a65dea 100755 --- a/rapids/templates/rapids/rapid_form.html +++ b/rapids/templates/rapids/rapid_form.html @@ -91,10 +91,11 @@ } function updateFileList() { + // Why do we update everything here? $("#drop-filenames").empty() - $(".temp-thumb").remove() $("#image_form_set input[type=file]").each((n, el) => { console.log(el); + $(el).find(".temp-thumb").remove() if (el.files.length > 0) { extra_class = " image-ident-loading"; if ($(el).hasClass("image-ident-warning")) {