init order!

This commit is contained in:
Matthias Wirth
2022-07-19 23:46:25 +02:00
parent 30675f68d1
commit f0794a751f

View File

@@ -48,6 +48,9 @@ let calcOutlineData = null;
let uuid = null;
let uuidCache = [];
let inhibitFetch = false;
let zstdDecode = null;
let usp;
try {
// let's make this case insensitive
@@ -480,6 +483,8 @@ if (uuid != null) {
}
dbServer = (data.dbServer && data.globeIndexGrid != null) ? true : false;
init_zstddec();
if (heatmap || replay) {
if (replay && data.globeIndexGrid != null)
globeIndex = 1;
@@ -523,9 +528,6 @@ if (uuid != null) {
historyQueued();
});
}
init_zstddec();
});
}
@@ -798,8 +800,6 @@ function add_kml_overlay(url, name, opacity) {
}));
}
let inhibitFetch = false;
let zstdDecode = null;
function webAssemblyFail(e) {
zstdDecode = null;