This commit is contained in:
Ross
2021-11-11 18:14:16 +00:00
parent 68be60e23c
commit bf08ca0e3b
+1 -1
View File
@@ -514,7 +514,7 @@
$(el).parent().parent().find(".temp-thumb").remove();
const imageId = `wadouri:${url}`;
const element = $(`<div class='temp-thumb' src=${imageId}></div>`).get(0)
const element = $(`<div class='temp-thumb' src=${url}></div>`).get(0)
$(el).parent().parent().prepend(element);
cornerstone.enable(element);
cornerstone.loadAndCacheImage(imageId).then(function (image) {