]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index/directions/graphhopper.js
Merge remote-tracking branch 'openstreetmap/pull/903'
[rails.git] / app / assets / javascripts / index / directions / graphhopper.js
index deefe151755a89186b8b04e17bb66c23137bb07f..95cb29ab813c0ac61eb265281caf4a49c777b65b 100644 (file)
@@ -32,7 +32,7 @@ function GraphHopperEngine(id, vehicleParam) {
         url += "&point=" + points[i].lat + ',' + points[i].lng;
       }
 
-      $.ajax({
+      return $.ajax({
         url: url,
         dataType: 'jsonp',
         success: function (data) {