Allow click events on Path.SVG elements to fall through if they are not handled.

This commit is contained in:
danzel 2012-10-04 10:12:57 +13:00
parent 28f067ce73
commit 53f57cb45f

View File

@ -112,6 +112,10 @@ L.Path = L.Path.extend({
}
this._fireMouseEvent(e);
if (this.hasEventListeners(e.type)) {
L.DomEvent.stopPropagation(e);
}
},
_fireMouseEvent: function (e) {