loleaflet/src/map/Map.js |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

New commits:
commit 3fff8a3edb3f0f3aadc6515f673868c594cb0b3c
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
    Reviewed-on: https://gerrit.libreoffice.org/35472
    Reviewed-by: pranavk <[email protected]>
    Tested-by: pranavk <[email protected]>

diff --git a/loleaflet/src/map/Map.js b/loleaflet/src/map/Map.js
index 6fcbcf7f..28455165 100644
--- a/loleaflet/src/map/Map.js
+++ b/loleaflet/src/map/Map.js
@@ -800,10 +800,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

Reply via email to