This commit is contained in:
Ross
2022-03-23 22:12:18 +00:00
parent c4b2f94ee2
commit db8972edf2
@@ -8,7 +8,7 @@
<span class="series-block">
<span>
Series {{ forloop.counter }}:
<a href="{% url 'atlas:series_detail' pk=series.pk %}">
<a href="loadDicomViewer(window.images[{{forloop.counter0}}])">
{{series.get_block}}
</a>
@@ -44,9 +44,7 @@ Return to <a href='{{collection.get_absolute_url}}'>collection</a>
{% endfor %}
}
$(document).ready(function () {
loadDicomViewer(window.images[0])
})
</script>
{% endblock js %}