Closed cerberusde closed 8 years ago
Add Plane Finder link https://planefinder.net in Dump
The following changes have been made in the files and gmap.html and script.js
script.js
if (selected.flight !== null && selected.flight !== "") { $('#selected_callsign').text(selected.flight); $('#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_flightaware_link').attr('href','http://flightaware.com/live/flight/'+selected.flight); $('#selected_planefinder_link').attr('href','https://planefinder.net/flight/'+selected.flight);
gmap.html
<span id="selected_links"> <a id="selected_fr24_link" href="" target="_blank">[FR24]</a> <a id="selected_flightaware_link" href="" target="_blank">[FlightAware]</a> <a id="selected_planefinder_link" href="" target="_blank">[PlainFinder]</a> <a id="selected_flightstats_link" href="" target="_blank">[FlightStats]</a>
A pull request would be good.
Add Plane Finder link https://planefinder.net in Dump
The following changes have been made in the files and gmap.html and script.js
script.js
gmap.html