Move registration on hover box. Default to n/a

This commit is contained in:
James Wilson 2018-08-15 11:50:14 -05:00
parent e0bb6e11e7
commit 43fedd9c6d
2 changed files with 5 additions and 5 deletions

View file

@ -71,6 +71,10 @@
<span class="identSmall"><span id="highlighted_icao">n/a</span></span> <span class="identSmall"><span id="highlighted_icao">n/a</span></span>
</div> </div>
<div class="highlightedInfo"> <div class="highlightedInfo">
<div class="infoRow">
<div class="infoHeading infoRowTitle">Registration: </div>
<div class="infoData infoRowContent"><span id="highlighted_registration">n/a</span></div>
</div>
<div class="infoRow"> <div class="infoRow">
<div class="infoHeading infoRowTitle">Aircraft Type: </div> <div class="infoHeading infoRowTitle">Aircraft Type: </div>
<div class="infoData infoRowContent"><span id="higlighted_icaotype">n/a</span></div> <div class="infoData infoRowContent"><span id="higlighted_icaotype">n/a</span></div>
@ -83,10 +87,6 @@
<div class="infoHeading infoRowTitle">Speed: </div> <div class="infoHeading infoRowTitle">Speed: </div>
<div class="infoData infoRowContent"><span id="highlighted_speed">n/a</span></div> <div class="infoData infoRowContent"><span id="highlighted_speed">n/a</span></div>
</div> </div>
<div class="infoRow">
<div class="infoHeading infoRowTitle">Registration: </div>
<div class="infoData infoRowContent"><span id="highlighted_registration">n/a</span></div>
</div>
<div class="infoRow"> <div class="infoRow">
<div class="infoHeading infoRowTitle">Source: </div> <div class="infoHeading infoRowTitle">Source: </div>
<div class="infoData infoRowContent"><span id="highlighted_source">n/a</span></div> <div class="infoData infoRowContent"><span id="highlighted_source">n/a</span></div>

View file

@ -1162,7 +1162,7 @@ function refreshHighlighted() {
if (highlighted.icaotype !== null) { if (highlighted.icaotype !== null) {
$('#higlighted_icaotype').text(highlighted.icaotype); $('#higlighted_icaotype').text(highlighted.icaotype);
} else { } else {
$('#higlighted_icaotype').text(""); $('#higlighted_icaotype').text("n/a");
} }
if (highlighted.getDataSource() === "adsb_icao") { if (highlighted.getDataSource() === "adsb_icao") {