This commit is contained in:
Ross
2022-03-23 22:16:10 +00:00
parent 97dd18f197
commit db30742f4d
@@ -20,7 +20,7 @@
</div> </div>
<div> <div>
<div id="single-dicom-viewer" class="dicom-viewer" data-images="{{ series.get_image_url_array }}" data-annotations=''> <div id="single-dicom-viewer" class="dicom-viewer" data-images="" data-annotations=''>
</div> </div>
</div> </div>
@@ -44,6 +44,10 @@ Return to <a href='{{collection.get_absolute_url}}'>collection</a>
{% endfor %} {% endfor %}
} }
$(document).ready(function () {
window.loadDicomViewer(window.images[0])
})
</script> </script>
{% endblock js %} {% endblock js %}