Merge pull request #30 from tslocum/fr24link
Add flightradar24.com link
This commit is contained in:
commit
d1ad4b91c6
|
@ -267,6 +267,7 @@ function refreshSelected() {
|
||||||
} else if (selected && selected.squawk == 7700) { // General Emergency
|
} else if (selected && selected.squawk == 7700) { // General Emergency
|
||||||
html += ' <span class="squawk7700"> Squawking: General Emergency </span>';
|
html += ' <span class="squawk7700"> Squawking: General Emergency </span>';
|
||||||
} else if (selected && selected.flight != '') {
|
} else if (selected && selected.flight != '') {
|
||||||
|
html += ' <a href="http://fr24.com/'+selected.flight+'" target="_blank">[FR24]</a>';
|
||||||
html += ' <a href="http://www.flightstats.com/go/FlightStatus/flightStatusByFlight.do?';
|
html += ' <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>';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue