C should be subscript for RC. 0 = unknown

This commit is contained in:
James Wilson 2018-08-02 13:32:05 -05:00
parent ea7a2c1c09
commit 974e962a55
2 changed files with 3 additions and 1 deletions

View file

@ -605,7 +605,7 @@
</div>
<div class="infoRowLine">
<div class="infoHeading infoRowFluid fourColumnSection1">
RC:
R<sub>C</sub>:
</div>
<div class="infoData infoRowFluid fourColumnSection2">
<span id="selected_rc">n/a</span>

View file

@ -1041,6 +1041,8 @@ function refreshSelected() {
$('#selected_nac_v').text(format_nac_v(selected.nac_v));
if (selected.rc == null) {
$('#selected_rc').text("n/a");
} else if (selected.rc == 0) {
$('#selected_rc').text("unknown");
} else {
$('#selected_rc').text(format_distance_long(selected.rc, DisplayUnits));
}