further cornerstone improvements

This commit is contained in:
Ross
2020-11-23 10:54:29 +00:00
parent 8b6129c41b
commit d2cb3bcc86
2 changed files with 8 additions and 1 deletions
+7
View File
@@ -36,6 +36,13 @@ $(document).ready(function () {
}
if($("#dicom-element").length) {
cornerstoneBase64ImageLoader.external.cornerstone = cornerstone;
cornerstoneWebImageLoader.external.cornerstone = cornerstone;
cornerstoneWADOImageLoader.external.cornerstone = cornerstone;
cornerstoneTools.init();
const element = document.getElementById('dicom-element');
const imageId = element.dataset.url;