From f933ed2723bb47e54b6e1b264c7f9c661929ab3d Mon Sep 17 00:00:00 2001 From: ddeitterick Date: Wed, 16 Jul 2014 21:51:41 -0400 Subject: [PATCH] Center "Distance from Site" for Selected Plane Center "Distance from Site" under "Lat/Long" for selected plane. --- public_html/script.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public_html/script.js b/public_html/script.js index 05d29b7..4e1ed2d 100644 --- a/public_html/script.js +++ b/public_html/script.js @@ -326,12 +326,12 @@ function refreshSelected() { dist /= 1852; } dist = (Math.round((dist)*10)/10).toFixed(1); - html += 'Distance from Site: ' + dist + + html += 'Distance from Site: ' + dist + (Metric ? ' km' : ' NM') + ''; } // End of SiteShow } else { if (SiteShow) { - html += 'Distance from Site: n/a ' + + html += 'Distance from Site: n/a ' + (Metric ? ' km' : ' NM') + ''; } else { html += 'n/a';