This commit is contained in:
Ross
2021-11-11 14:47:15 +00:00
parent ee8853eea3
commit 51750a3be5
+11
View File
@@ -363,6 +363,17 @@
$(el).parent().parent().prepend(image);
//images.push(reader.result);
const element = $("<div class='thumb'></div>")
cornerstone.enable(element);
cornerstone.loadAndCacheImage(file).then(function(image) {
cornerstone.displayImage(element, image);
});
$(el).parent().parent().prepend(element);
active_file_inputs.delete(el)
if (active_file_inputs.size < 1) {
loadViewer();