Skip to content

Commit

Permalink
Fix delete waypoint bug
Browse files Browse the repository at this point in the history
  • Loading branch information
RCgmbh committed Feb 18, 2025
1 parent 2a0c1e9 commit b494062
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PiLotWeb/js/View/Nav.js
Original file line number Diff line number Diff line change
Expand Up @@ -1164,7 +1164,7 @@ PiLot.View.Nav = (function () {

/// click handler for the delete waypoint link
lnkDeleteWaypoint_click: function (pEvent) {
pEevent.preventDefault();
pEvent.preventDefault();
const message = PiLot.Utils.Language.getText('confirmDeleteWaypoint').replace("{{waypointName}}", this.waypoint.getName());
if (confirm(message)) {
this.routeDetail.getRoute().deleteWaypoint(this.waypoint, this);
Expand Down

0 comments on commit b494062

Please sign in to comment.