Allow click events on Path.SVG elements to fall through if they are not handled.
This commit is contained in:
parent
28f067ce73
commit
53f57cb45f
@ -112,6 +112,10 @@ L.Path = L.Path.extend({
|
||||
}
|
||||
|
||||
this._fireMouseEvent(e);
|
||||
|
||||
if (this.hasEventListeners(e.type)) {
|
||||
L.DomEvent.stopPropagation(e);
|
||||
}
|
||||
},
|
||||
|
||||
_fireMouseEvent: function (e) {
|
||||
|
Loading…
Reference in New Issue
Block a user