This commit is contained in:
Ross
2021-11-11 21:29:27 +00:00
parent 1c4a8d9166
commit a0933d5077
+1 -1
View File
@@ -470,7 +470,7 @@
} else { } else {
const imageId = `wadouri:${url}`; const imageId = `wadouri:${url}`;
} }
const element = $(`<div class='temp-thumb' src=${url}></div>`).get(0) const element = $(`<div class='temp-thumb' src=${imageId}></div>`).get(0)
$(el).parent().parent().prepend(element); $(el).parent().parent().prepend(element);
cornerstone.enable(element); cornerstone.enable(element);
cornerstone.loadAndCacheImage(imageId).then(function (image) { cornerstone.loadAndCacheImage(imageId).then(function (image) {