diff --git a/js/index.js b/js/index.js index 5955a83..5efd499 100644 --- a/js/index.js +++ b/js/index.js @@ -123,11 +123,15 @@ routingToolbar = L.easyButton( 'glyphicon-trash', function () { - bootbox.confirm("Delete route?", function(result) { - if (result) { - routing.clear(); - onUpdate(); - permalink._update_routing(); + bootbox.confirm({ + size: 'small', + message: "Delete route?", + callback: function(result) { + if (result) { + routing.clear(); + onUpdate(); + permalink._update_routing(); + } } }); },