Fix DOMContentLoaded bug on SPA load
This commit is contained in:
@@ -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);
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user