.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user