Skip to content

Commit

Permalink
waypoints: more fixes, warning fixes caused bug
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelmachek committed Nov 13, 2024
1 parent ff6b292 commit 4fa9752
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/waypoints/waypoints.app.js
Original file line number Diff line number Diff line change
Expand Up @@ -619,8 +619,8 @@ function askCoordinate(t1, t2, callback) {
res = d + m/60.0;
break;
case 2:
let d = parseInt(key.substr(0, 3));
let m = parseInt(key.substr(4, 2));
d = parseInt(key.substr(0, 3));
m = parseInt(key.substr(4, 2));
let s = parseInt(key.substr(7, 2));

Check failure on line 624 in apps/waypoints/waypoints.app.js

View workflow job for this annotation

GitHub Actions / build

Unexpected lexical declaration in case block
res = d + m/60.0 + s/3600.0;
}
Expand Down

0 comments on commit 4fa9752

Please sign in to comment.