X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6d124f801224ee441dbb7e67b912b8689cab6dfb..0fa051fb40d30978325679bcfec2d128cc15e9e5:/app/assets/javascripts/index/directions/mapquest.js diff --git a/app/assets/javascripts/index/directions/mapquest.js b/app/assets/javascripts/index/directions/mapquest.js index 6b24fb3bc..fbbc55a5f 100644 --- a/app/assets/javascripts/index/directions/mapquest.js +++ b/app/assets/javascripts/index/directions/mapquest.js @@ -42,7 +42,7 @@ function MapQuestEngine(id, vehicleParam) { url += "&manMaps=false"; url += "&shapeFormat=raw&generalize=0&unit=k"; - $.ajax({ + return $.ajax({ url: url, success: function (data) { if (data.info.statuscode !== 0)