Move registration on hover box. Default to n/a
This commit is contained in:
parent
e0bb6e11e7
commit
43fedd9c6d
|
@ -71,6 +71,10 @@
|
|||
<span class="identSmall"><span id="highlighted_icao">n/a</span></span>
|
||||
</div>
|
||||
<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="infoHeading infoRowTitle">Aircraft Type: </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="infoData infoRowContent"><span id="highlighted_speed">n/a</span></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="infoHeading infoRowTitle">Source: </div>
|
||||
<div class="infoData infoRowContent"><span id="highlighted_source">n/a</span></div>
|
||||
|
|
|
@ -1162,7 +1162,7 @@ function refreshHighlighted() {
|
|||
if (highlighted.icaotype !== null) {
|
||||
$('#higlighted_icaotype').text(highlighted.icaotype);
|
||||
} else {
|
||||
$('#higlighted_icaotype').text("");
|
||||
$('#higlighted_icaotype').text("n/a");
|
||||
}
|
||||
|
||||
if (highlighted.getDataSource() === "adsb_icao") {
|
||||
|
|
Loading…
Reference in a new issue