Fix error message taking full height and preventing map events;
make error text selectable
This commit is contained in:
parent
92537cc00d
commit
bdc1fd0cb4
2 changed files with 5 additions and 4 deletions
|
|
@ -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">'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue