Delay mounting DICOM viewers to ensure assets and DOM are ready

This commit is contained in:
Ross
2026-02-02 09:29:07 +00:00
parent 38d70f8ff0
commit efc47bb2e8
+2 -1
View File
@@ -38,7 +38,8 @@
{% block js %}
<script>
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 %}