This commit is contained in:
Ross
2021-11-11 14:51:55 +00:00
parent 4d562b729a
commit 77d5047f0c
+1 -1
View File
@@ -479,7 +479,7 @@
const element = $("<div class='thumb'></div>").get(0) const element = $("<div class='thumb'></div>").get(0)
cornerstone.enable(element); cornerstone.enable(element);
cornerstone.loadAndCacheImage(file).then(function(image) { cornerstone.loadAndCacheImage(reader.result).then(function(image) {
cornerstone.displayImage(element, image); cornerstone.displayImage(element, image);
}); });