Fix console errors by adding required callback, change icon (#179)
This commit is contained in:
parent
d799f94733
commit
1d1d75ddd3
1 changed files with 2 additions and 2 deletions
|
|
@ -80,9 +80,9 @@
|
|||
);
|
||||
|
||||
deletePointButton = L.easyButton(
|
||||
'<span class="fa-stack fa-lg"><i class="fa fa-map-marker fa-align-left fa-stack-1x"></i><i class="fa fa-long-arrow-left fa-stack-1x"></i></span>',
|
||||
'<span><i class="fa fa-caret-left"></i><i class="fa fa-map-marker" style="margin-left: 1px; color: gray;"></i></span>',
|
||||
function () {
|
||||
routing.removeWaypoint(routing.getLast());
|
||||
routing.removeWaypoint(routing.getLast(), function(err, data) {});
|
||||
},
|
||||
i18next.t('map.delete-last-point')
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue