diff --git a/public_html/gmap.html b/public_html/gmap.html
index a602619..c9463ee 100644
--- a/public_html/gmap.html
+++ b/public_html/gmap.html
@@ -113,7 +113,7 @@
⇒
-
+
diff --git a/public_html/script.js b/public_html/script.js
index daf0948..fc3953d 100644
--- a/public_html/script.js
+++ b/public_html/script.js
@@ -71,7 +71,8 @@ function processReceiverUpdate(data) {
plane.tr = PlaneRowTemplate.cloneNode(true);
// Lookup ICAO country flag
- var hexa = +("0x" + hex);
+
+ var hexa = +("0x" + hex);
for (var i = 0; i < ICAO_Codes.length; i++) {
if ( hexa >= ICAO_Codes[i].start && hexa <= ICAO_Codes[i].end) {
@@ -608,6 +609,7 @@ function refreshSelected() {
$('#selected_seen').text(selected.seen.toFixed(1) + 's');
}
+
// add the country and flag
$('#selected_country').text(selected.Country);
if (selected.Flag !== null) {
@@ -618,7 +620,6 @@ function refreshSelected() {
}
-
if (selected.position === null) {
$('#selected_position').text('n/a');
$('#selected_follow').addClass('hidden');