add error handling for permalinks
This commit is contained in:
parent
2c5906ad7b
commit
c4d87b122c
2 changed files with 38 additions and 12 deletions
|
|
@ -155,7 +155,7 @@
|
|||
}
|
||||
}
|
||||
});
|
||||
routing.on('routing:routeWaypointEnd', function(evt) {
|
||||
routing.on('routing:routeWaypointEnd routing:setWaypointsEnd', function(evt) {
|
||||
onUpdate(evt && evt.err);
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue