This commit is contained in:
Ross
2021-11-11 21:56:21 +00:00
parent 2f669cc206
commit a44c18ffd0
+1 -1
View File
@@ -484,7 +484,7 @@
imageId = `wadouri:${url}`; imageId = `wadouri:${url}`;
} }
console.log(imageId) console.log(imageId)
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) {