Merge remote-tracking branch 'origin/flags' into flags
Conflicts: public_html/script.js
This commit is contained in:
commit
9e00c2d0d3
|
@ -71,6 +71,7 @@ function processReceiverUpdate(data) {
|
||||||
plane.tr = PlaneRowTemplate.cloneNode(true);
|
plane.tr = PlaneRowTemplate.cloneNode(true);
|
||||||
|
|
||||||
// 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++) {
|
||||||
|
@ -608,6 +609,7 @@ function refreshSelected() {
|
||||||
$('#selected_seen').text(selected.seen.toFixed(1) + 's');
|
$('#selected_seen').text(selected.seen.toFixed(1) + 's');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// add the country and flag
|
// add the country and flag
|
||||||
$('#selected_country').text(selected.Country);
|
$('#selected_country').text(selected.Country);
|
||||||
if (selected.Flag !== null) {
|
if (selected.Flag !== null) {
|
||||||
|
@ -618,7 +620,6 @@ function refreshSelected() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if (selected.position === null) {
|
if (selected.position === null) {
|
||||||
$('#selected_position').text('n/a');
|
$('#selected_position').text('n/a');
|
||||||
$('#selected_follow').addClass('hidden');
|
$('#selected_follow').addClass('hidden');
|
||||||
|
|
Loading…
Reference in a new issue