Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove last o & d references in getRoute call
Browse files Browse the repository at this point in the history
hlfan authored Jan 31, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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
@@ -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) {

0 comments on commit cb535c2

Please sign in to comment.