From 68be60e23cda0a6748256e1ad0ebf3caa6da01ee Mon Sep 17 00:00:00 2001 From: Ross Date: Thu, 11 Nov 2021 18:12:20 +0000 Subject: [PATCH] . --- rapids/templates/rapids/rapid_form.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);