Fix error message taking full height and preventing map events;

make error text selectable
This commit is contained in:
Norbert Renner 2018-07-17 10:44:47 +02:00
parent 92537cc00d
commit bdc1fd0cb4
2 changed files with 5 additions and 4 deletions

View file

@ -15,6 +15,8 @@ BR.Message = L.Class.extend({
iconClass = (type === 'warning') ? 'fa-exclamation-triangle' : 'fa-times-circle',
alertClass = (type === 'warning') ? 'alert-warning' : 'alert-danger';
L.DomEvent.disableClickPropagation(ele);
ele.innerHTML =
'<div class="alert ' + alertClass + ' alert-dismissible fade in" role="alert">'
+ ' <button type="button" class="close" data-dismiss="alert" aria-label="Close">'