mirror of
https://github.com/ha7ilm/openwebrx.git
synced 2026-04-05 06:25:19 +00:00
icao should be part of the source, not the location
This commit is contained in:
parent
26896cf2d5
commit
abc5cd177e
3 changed files with 7 additions and 10 deletions
|
|
@ -481,7 +481,7 @@ $(function(){
|
|||
distance = " at " + distanceKm(receiverMarker.position, marker.position) + " km";
|
||||
}
|
||||
var title;
|
||||
if (marker.icao) {
|
||||
if (marker.source.icao || marker.source.flight) {
|
||||
title = linkifyAircraft(source, marker.identification);
|
||||
if ('altitude' in marker) {
|
||||
commentString += '<div>Altitude: ' + marker.altitude + ' ft</div>';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue