loleaflet/src/map/Map.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
New commits: commit dd7f50dcdad023a575ec46ce42521a0d5aec406a Author: Pranav Kant <[email protected]> Date: Thu Dec 15 13:42:45 2016 +0530 Clicking on content layer now also activates the map Change-Id: Idd9343ab58e83ee1a710e82c649f2876c8b225bd (cherry picked from commit 1b690898f90643407d39d5e65f280764a0b0319d) Reviewed-on: https://gerrit.libreoffice.org/32198 Reviewed-by: Michael Meeks <[email protected]> Tested-by: Michael Meeks <[email protected]> diff --git a/loleaflet/src/map/Map.js b/loleaflet/src/map/Map.js index 6a5972c..6c2e504 100644 --- a/loleaflet/src/map/Map.js +++ b/loleaflet/src/map/Map.js @@ -799,10 +799,7 @@ L.Map = L.Evented.extend({ vex: options }); - options.$vexOverlay.bind('click.vex', function(e) { - if (e.target !== this) { - return 0; - } + options.$vex.bind('click.vex', function(e) { return map._activate(); }); options.$vex.append(options.$vexOverlay); _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
