Add PlaneFinder link
This commit is contained in:
parent
03c29a3721
commit
f53bca99e4
|
@ -126,6 +126,7 @@
|
||||||
<span id="selected_links">
|
<span id="selected_links">
|
||||||
<a id="selected_fr24_link" href="" target="_blank">[FR24]</a>
|
<a id="selected_fr24_link" href="" target="_blank">[FR24]</a>
|
||||||
<a id="selected_flightstats_link" href="" target="_blank">[FlightStats]</a>
|
<a id="selected_flightstats_link" href="" target="_blank">[FlightStats]</a>
|
||||||
|
<a id="selected_planefinder_link" href="" target="_blank">[PlaneFinder]</a>
|
||||||
</span>
|
</span>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
|
@ -621,6 +621,7 @@ function refreshSelected() {
|
||||||
$('#selected_links').css('display','inline');
|
$('#selected_links').css('display','inline');
|
||||||
$('#selected_fr24_link').attr('href','http://fr24.com/'+selected.flight);
|
$('#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_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 {
|
} else {
|
||||||
$('#selected_callsign').text('n/a');
|
$('#selected_callsign').text('n/a');
|
||||||
$('#selected_links').css('display','none');
|
$('#selected_links').css('display','none');
|
||||||
|
|
Loading…
Reference in a new issue