just cleaning up the formatting

This commit is contained in:
Dynomity 2015-08-26 10:07:50 -06:00
parent 8a1c08cafb
commit b5d49b451b

View file

@ -71,7 +71,6 @@ function processReceiverUpdate(data) {
// Lookup ICAO country flag // Lookup ICAO country flag
var hexa = +("0x" + hex); var hexa = +("0x" + hex);
for (var i = 0; i < ICAO_Codes.length; i++) { for (var i = 0; i < ICAO_Codes.length; i++) {
if ( hexa >= ICAO_Codes[i].start && hexa <= ICAO_Codes[i].end) { if ( hexa >= ICAO_Codes[i].start && hexa <= ICAO_Codes[i].end) {
plane.Country = ICAO_Codes[i].Country; plane.Country = ICAO_Codes[i].Country;
@ -608,7 +607,7 @@ function refreshSelected() {
$('#selected_seen').text(selected.seen.toFixed(1) + 's'); $('#selected_seen').text(selected.seen.toFixed(1) + 's');
} }
// add the country and flag to the selected section // add the country and flag to the selected section
$('#selected_country').text(selected.Country); $('#selected_country').text(selected.Country);
if (selected.Flag !== null) { if (selected.Flag !== null) {
$('#selected_flag').html(selected.Flag); $('#selected_flag').html(selected.Flag);