loading stuff.

config.js is now without numbers again and should survive
updates
This commit is contained in:
Matthias Wirth
2019-10-30 14:13:05 +01:00
parent 1117366e02
commit f1abaa22be
8 changed files with 92 additions and 62 deletions

View File

@@ -91,11 +91,6 @@ var layers_group;
// piaware vs flightfeeder
var isFlightFeeder = false;
// this will be needed later, get it right when the script is loaded
$.getJSON("db/aircraft_types/icao_aircraft_types.json")
.done(function(typeLookupData) {
_aircraft_type_cache = typeLookupData;
})
function processReceiverUpdate(data, init) {
@@ -409,6 +404,11 @@ function initialize() {
// Wait for history item downloads and append them to the buffer
push_history();
// this will be needed later
$.getJSON("db/aircraft_types/icao_aircraft_types.json")
.done(function(typeLookupData) {
_aircraft_type_cache = typeLookupData;
})
});
}