Fixed #916
This commit is contained in:
Tom Hughes 2015-02-27 17:02:34 +00:00
parent fa3ccdfd49
commit 9ec625e352
5 changed files with 1 additions and 1 deletions

View 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.