Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix issue with prediction markers and imperial units
  • Loading branch information
Mark Jessop authored and Mark Jessop committed Dec 1, 2022
commit bf79289d29fa699c76808ccbccb09a5ac355b877
2 changes: 1 addition & 1 deletion js/tracker.js
Original file line number Diff line number Diff line change
Expand Up @@ -2201,7 +2201,7 @@ function mapInfoBox_handle_prediction(event) {
var altitude;

if(offline.get('opt_imperial')) {
altitude = Math.round(alt*3.2808399) + " feet";
altitude = Math.round(data.alt*3.2808399) + " feet";
} else {
altitude = Math.round(data.alt) + " m";
}
Expand Down