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:
parent
d86c6002d7
commit
fd1b94550c
@ -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; }
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user