Skip to content

Commit dc021ec

Browse files
authored
Merge pull request projecthorus#69 from darksidelemm/main
Fix issue with prediction markers and imperial units
2 parents e710271 + bf79289 commit dc021ec

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
@@ -2201,7 +2201,7 @@ function mapInfoBox_handle_prediction(event) {
22012201
var altitude;
22022202

22032203
if(offline.get('opt_imperial')) {
2204-
altitude = Math.round(alt*3.2808399) + " feet";
2204+
altitude = Math.round(data.alt*3.2808399) + " feet";
22052205
} else {
22062206
altitude = Math.round(data.alt) + " m";
22072207
}

0 commit comments

Comments
 (0)