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';