Add flightradar24.com link

This commit is contained in:
Trevor Slocum 2014-08-10 00:01:31 -07:00
parent a82df07c0c
commit e5fddba182

View file

@ -263,6 +263,7 @@ function refreshSelected() {
} else if (selected && selected.squawk == 7700) { // General Emergency } else if (selected && selected.squawk == 7700) { // General Emergency
html += '&nbsp;<span class="squawk7700">&nbsp;Squawking: General Emergency&nbsp;</span>'; html += '&nbsp;<span class="squawk7700">&nbsp;Squawking: General Emergency&nbsp;</span>';
} else if (selected && selected.flight != '') { } else if (selected && selected.flight != '') {
html += '&nbsp;<a href="http://fr24.com/'+selected.flight+'" target="_blank">[FR24]</a>';
html += '&nbsp;<a href="http://www.flightstats.com/go/FlightStatus/flightStatusByFlight.do?'; html += '&nbsp;<a href="http://www.flightstats.com/go/FlightStatus/flightStatusByFlight.do?';
html += 'flightNumber='+selected.flight+'" target="_blank">[FlightStats]</a>'; html += 'flightNumber='+selected.flight+'" target="_blank">[FlightStats]</a>';
} }