Skip to content

Commit

Permalink
Fix popup broken since 9b7f24f
Browse files Browse the repository at this point in the history
Popup where binded by the LayerGroup, which was not finring the click
event, because not propagated from the layers
  • Loading branch information
yohanboniface committed Jul 6, 2015
1 parent 5137a03 commit 93742a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/map/Map.js
Expand Up @@ -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; }
}
}
Expand Down

0 comments on commit 93742a5

Please sign in to comment.