Skip to content

Commit 7eb886c

Browse files
Mark JessopMark Jessop
authored andcommitted
Fix issue with prediction markers and imperial units
1 parent 5837d75 commit 7eb886c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/tracker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2555,7 +2555,7 @@ function mapInfoBox_handle_prediction(event) {
25552555
var altitude;
25562556

25572557
if(offline.get('opt_imperial')) {
2558-
altitude = Math.round(alt*3.2808399) + " feet";
2558+
altitude = Math.round(data.alt*3.2808399) + " feet";
25592559
} else {
25602560
altitude = Math.round(data.alt) + " m";
25612561
}

0 commit comments

Comments
 (0)