Fix typo
authorTom Hughes <tom@compton.nu>
Fri, 27 Feb 2015 17:02:34 +0000 (17:02 +0000)
committerTom Hughes <tom@compton.nu>
Fri, 27 Feb 2015 17:02:53 +0000 (17:02 +0000)
Fixed #916

app/assets/javascripts/index/directions.js
test/traces/6.gpx [new file with mode: 0644]
test/traces/7.gpx [new file with mode: 0644]
test/traces/8.gpx [new file with mode: 0644]
test/traces/9.gpx [new file with mode: 0644]

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.
diff --git a/test/traces/6.gpx b/test/traces/6.gpx
new file mode 100644 (file)
index 0000000..614a0e8
Binary files /dev/null and b/test/traces/6.gpx differ
diff --git a/test/traces/7.gpx b/test/traces/7.gpx
new file mode 100644 (file)
index 0000000..7e4c07c
Binary files /dev/null and b/test/traces/7.gpx differ
diff --git a/test/traces/8.gpx b/test/traces/8.gpx
new file mode 100644 (file)
index 0000000..a0e75ce
Binary files /dev/null and b/test/traces/8.gpx differ
diff --git a/test/traces/9.gpx b/test/traces/9.gpx
new file mode 100644 (file)
index 0000000..6c9010c
Binary files /dev/null and b/test/traces/9.gpx differ