From 6672d92d9e245208d50c2c0d53c8d250fd219781 Mon Sep 17 00:00:00 2001 From: Oliver Jowett Date: Thu, 22 Jan 2015 17:35:20 +0000 Subject: [PATCH] Don't double up the ICAO display if there's no callsign. --- public_html/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public_html/script.js b/public_html/script.js index 3faa708..08580b2 100644 --- a/public_html/script.js +++ b/public_html/script.js @@ -634,7 +634,7 @@ function refreshSelected() { $('#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); } else { - $('#selected_callsign').text('n/a (' + selected.icao + ')'); + $('#selected_callsign').text('n/a'); $('#selected_links').css('display','none'); }