Closed mutability closed 5 years ago
I patched this in planeObject.js with the marked line. It seems to work.
+++ if (this.icao[0] !== '~')
getAircraftData(this.icao).done(function(data) {
if ("r" in data) {
this.registration = data.r;
}
A non-icao address (with ~ at the start) ends up trying to request ~.json which always fails. We should catch this earlier.