diff --git a/htdocs/lib/MapMarkers.js b/htdocs/lib/MapMarkers.js index 5c2868bf..1937f7e2 100644 --- a/htdocs/lib/MapMarkers.js +++ b/htdocs/lib/MapMarkers.js @@ -662,9 +662,9 @@ AircraftMarker.prototype = new Marker(); AircraftMarker.prototype.update = function(update) { this.lastseen = update.lastseen; - this.ttl = update.ttl; this.mode = update.mode; this.comment = update.location.comment; + this.ttl = update.location.ttl; // HFDL, ACARS, VDL2, ADSB this.altitude = update.location.altitude; this.aircraft = update.location.aircraft;