Fix popup broken since 9b7f24f5f6efb94be2a96d7d7f4c604783135d10

Popup where binded by the LayerGroup, which was not finring the click
event, because not propagated from the layers
This commit is contained in:
Yohan Boniface 2015-07-06 11:13:09 +02:00
parent d86c6002d7
commit fd1b94550c

View File

@ -695,7 +695,7 @@ L.Map = L.Evented.extend({
for (var i = 0; i < targets.length; i++) {
if (targets[i].listens(type, true)) {
targets[i].fire(type, data);
targets[i].fire(type, data, true);
if (data.originalEvent._stopped) { return; }
}
}