From 13f844f89e5c040c5fe08aff242a42a13e416c2c Mon Sep 17 00:00:00 2001 From: Ross Date: Sun, 31 Oct 2021 18:45:21 +0000 Subject: [PATCH] . --- rapids/templates/rapids/rapid_form.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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")) {