From 21268eec2e803491affad0738308241c28e0ca93 Mon Sep 17 00:00:00 2001 From: Ross Date: Sun, 31 Oct 2021 18:50:39 +0000 Subject: [PATCH] . --- rapids/templates/rapids/rapid_form.html | 1 + 1 file changed, 1 insertion(+) diff --git a/rapids/templates/rapids/rapid_form.html b/rapids/templates/rapids/rapid_form.html index a1a65dea..0e7a0604 100755 --- a/rapids/templates/rapids/rapid_form.html +++ b/rapids/templates/rapids/rapid_form.html @@ -335,6 +335,7 @@ image.src = reader.result; image.className = "temp-thumb"; console.log("read", reader, el); + $(el).parent().parent().find(".temp-thumb").remove(); $(el).parent().parent().prepend(image); //images.push(reader.result); loadViewer();