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();