Don't double up the ICAO display if there's no callsign.
This commit is contained in:
parent
d3537ec139
commit
6672d92d9e
|
@ -634,7 +634,7 @@ function refreshSelected() {
|
||||||
$('#selected_flightstats_link').attr('href','http://www.flightstats.com/go/FlightStatus/flightStatusByFlight.do?flightNumber='+selected.flight);
|
$('#selected_flightstats_link').attr('href','http://www.flightstats.com/go/FlightStatus/flightStatusByFlight.do?flightNumber='+selected.flight);
|
||||||
$('#selected_flightaware_link').attr('href','http://flightaware.com/live/flight/'+selected.flight);
|
$('#selected_flightaware_link').attr('href','http://flightaware.com/live/flight/'+selected.flight);
|
||||||
} else {
|
} else {
|
||||||
$('#selected_callsign').text('n/a (' + selected.icao + ')');
|
$('#selected_callsign').text('n/a');
|
||||||
$('#selected_links').css('display','none');
|
$('#selected_links').css('display','none');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue