]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index/directions.js
Fix typo
[rails.git] / app / assets / javascripts / index / directions.js
index f7ac876369c2f21fb7288c602b28337e6293a4cc..1b30bce71cf96fe8c3eb1b49528bbd5a9ebf3aca 100644 (file)
@@ -146,7 +146,7 @@ OSM.Directions = function (map) {
 
   function getRoute() {
     // Cancel any route that is already in progress
-    if (awaitingRoute) awaitingRoute.abourt();
+    if (awaitingRoute) awaitingRoute.abort();
 
     // go fetch geocodes for any endpoints which have not already
     // been geocoded.