diff --git a/rapids/templates/rapids/rapid_form.html b/rapids/templates/rapids/rapid_form.html index 6cd8f0e4..76068b69 100755 --- a/rapids/templates/rapids/rapid_form.html +++ b/rapids/templates/rapids/rapid_form.html @@ -513,9 +513,9 @@ $(el).parent().parent().find(".temp-thumb").remove(); - const element = $(`
`).get(0) - $(el).parent().parent().prepend(element); const imageId = `wadouri:${url}`; + const element = $(`
`).get(0) + $(el).parent().parent().prepend(element); cornerstone.enable(element); cornerstone.loadAndCacheImage(imageId).then(function (image) { cornerstone.displayImage(element, image);