Skip to content

Commit

Permalink
Remove last o & d references in getRoute call
Browse files Browse the repository at this point in the history
  • Loading branch information
hlfan authored Jan 31, 2025
1 parent 0155b99 commit cb535c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/index/directions.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ OSM.Directions = function (map) {
$("#sidebar_content").html($(".directions_form .loader_copy").html());
map.setSidebarOverlaid(false);

routeRequest = chosenEngine.getRoute([o, d], function (err, route) {
routeRequest = chosenEngine.getRoute(points, function (err, route) {
routeRequest = null;

if (err) {
Expand Down

0 comments on commit cb535c2

Please sign in to comment.