From fd1b94550c64806b868c439d8b1a0d87f70d6413 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Mon, 6 Jul 2015 11:13:09 +0200 Subject: [PATCH] Fix popup broken since 9b7f24f5f6efb94be2a96d7d7f4c604783135d10 Popup where binded by the LayerGroup, which was not finring the click event, because not propagated from the layers --- src/map/Map.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/map/Map.js b/src/map/Map.js index d04784d3..663e963b 100644 --- a/src/map/Map.js +++ b/src/map/Map.js @@ -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; } } }