Skip to content

Commit

Permalink
Merge pull request #30 from tslocum/fr24link
Browse files Browse the repository at this point in the history
Add flightradar24.com link
  • Loading branch information
MalcolmRobb committed Oct 28, 2014
2 parents f95d54e + e5fddba commit d1ad4b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions public_html/script.js
Expand Up @@ -267,6 +267,7 @@ function refreshSelected() {
} else if (selected && selected.squawk == 7700) { // General Emergency
html += '&nbsp;<span class="squawk7700">&nbsp;Squawking: General Emergency&nbsp;</span>';
} 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 += 'flightNumber='+selected.flight+'" target="_blank">[FlightStats]</a>';
}
Expand Down

0 comments on commit d1ad4b9

Please sign in to comment.