.
This commit is contained in:
@@ -363,6 +363,17 @@
|
|||||||
$(el).parent().parent().prepend(image);
|
$(el).parent().parent().prepend(image);
|
||||||
//images.push(reader.result);
|
//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)
|
active_file_inputs.delete(el)
|
||||||
if (active_file_inputs.size < 1) {
|
if (active_file_inputs.size < 1) {
|
||||||
loadViewer();
|
loadViewer();
|
||||||
|
|||||||
Reference in New Issue
Block a user