Fix console errors by adding required callback, change icon (#179)

This commit is contained in:
Norbert Renner 2019-05-15 21:38:30 +02:00
parent d799f94733
commit 1d1d75ddd3

View file

@ -80,9 +80,9 @@
); );
deletePointButton = L.easyButton( 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 () { function () {
routing.removeWaypoint(routing.getLast()); routing.removeWaypoint(routing.getLast(), function(err, data) {});
}, },
i18next.t('map.delete-last-point') i18next.t('map.delete-last-point')
); );