Show mlat positions differently in the detail pane.
This commit is contained in:
parent
de4e233969
commit
32f87412d6
|
@ -598,10 +598,11 @@ function refreshSelected() {
|
||||||
$('#selected_position').text('n/a');
|
$('#selected_position').text('n/a');
|
||||||
$('#selected_follow').addClass('hidden');
|
$('#selected_follow').addClass('hidden');
|
||||||
} else {
|
} else {
|
||||||
|
var mlat_bit = (selected.position_from_mlat ? "MLAT: " : "");
|
||||||
if (selected.seen_pos > 1) {
|
if (selected.seen_pos > 1) {
|
||||||
$('#selected_position').text(format_latlng(selected.position) + " (" + selected.seen_pos.toFixed(1) + "s)");
|
$('#selected_position').text(mlat_bit + format_latlng(selected.position) + " (" + selected.seen_pos.toFixed(1) + "s)");
|
||||||
} else {
|
} else {
|
||||||
$('#selected_position').text(format_latlng(selected.position));
|
$('#selected_position').text(mlat_bit + format_latlng(selected.position));
|
||||||
}
|
}
|
||||||
$('#selected_follow').removeClass('hidden');
|
$('#selected_follow').removeClass('hidden');
|
||||||
if (FollowSelected) {
|
if (FollowSelected) {
|
||||||
|
|
Loading…
Reference in a new issue