Merge pull request #110 from BowlesCR/planefinder

Add PlaneFinder link
This commit is contained in:
Oliver Jowett 2016-03-30 11:49:12 +01:00
commit dfc253bebf
2 changed files with 2 additions and 0 deletions

View file

@ -126,6 +126,7 @@
<span id="selected_links">
<a id="selected_fr24_link" href="" target="_blank">[FR24]</a>
<a id="selected_flightstats_link" href="" target="_blank">[FlightStats]</a>
<a id="selected_planefinder_link" href="" target="_blank">[PlaneFinder]</a>
</span>
</td>
</tr>

View file

@ -621,6 +621,7 @@ function refreshSelected() {
$('#selected_links').css('display','inline');
$('#selected_fr24_link').attr('href','http://fr24.com/'+selected.flight);
$('#selected_flightstats_link').attr('href','http://www.flightstats.com/go/FlightStatus/flightStatusByFlight.do?flightNumber='+selected.flight);
$('#selected_planefinder_link').attr('href','https://planefinder.net/flight/'+selected.flight);
} else {
$('#selected_callsign').text('n/a');
$('#selected_links').css('display','none');