Delay mounting DICOM viewers to ensure assets and DOM are ready
This commit is contained in:
@@ -38,7 +38,8 @@
|
|||||||
{% block js %}
|
{% block js %}
|
||||||
<script>
|
<script>
|
||||||
document.addEventListener("DOMContentLoaded", function () {
|
document.addEventListener("DOMContentLoaded", function () {
|
||||||
window.mountDicomViewers();
|
// Delay mounting slightly to ensure viewer assets and DOM are ready
|
||||||
|
setTimeout(function() { window.mountDicomViewers(); }, 200);
|
||||||
|
|
||||||
|
|
||||||
{% if selected_displayset %}
|
{% if selected_displayset %}
|
||||||
|
|||||||
Reference in New Issue
Block a user