From 32f87412d6f73948158c3933f5ea0f7916dacd14 Mon Sep 17 00:00:00 2001 From: Oliver Jowett Date: Mon, 29 Jun 2015 14:04:52 +0100 Subject: [PATCH] Show mlat positions differently in the detail pane. --- public_html/script.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/public_html/script.js b/public_html/script.js index f375550..b399bc7 100644 --- a/public_html/script.js +++ b/public_html/script.js @@ -598,10 +598,11 @@ function refreshSelected() { $('#selected_position').text('n/a'); $('#selected_follow').addClass('hidden'); } else { + var mlat_bit = (selected.position_from_mlat ? "MLAT: " : ""); 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 { - $('#selected_position').text(format_latlng(selected.position)); + $('#selected_position').text(mlat_bit + format_latlng(selected.position)); } $('#selected_follow').removeClass('hidden'); if (FollowSelected) {