Fix DOMContentLoaded bug on SPA load

This commit is contained in:
cerenX9
2026-07-24 15:39:28 +03:00
parent 7211fa8bdc
commit 7163eedda2
2 changed files with 3 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
document.addEventListener("DOMContentLoaded", function() {
(function() {
var telemetryEl = document.getElementById('mymach_telemetry_data');
if (!telemetryEl) return;
@@ -389,4 +389,4 @@ document.addEventListener("DOMContentLoaded", function() {
window.location.reload();
}, 15000);
}
});
})();

View File

@@ -270,7 +270,7 @@
style="display: none;"/>
<!-- Harita ve Tablo İşleme Kodları (Statik Dosyadan Yüklenir - QWeb Çakışmalarını Önler) -->
<script type="text/javascript" src="/mymach_fleet_intelligence/static/src/js/dashboard.js?v=5"></script>
<script type="text/javascript" src="/mymach_fleet_intelligence/static/src/js/dashboard.js?v=6"></script>
</body>
</html>
</template>