[Libreoffice-commits] online.git: Branch 'libreoffice-5-3' - loleaflet/src

Pranav Kant pranavk at collabora.co.uk
Thu Mar 23 12:34:54 UTC 2017


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

New commits:
commit 3fff8a3edb3f0f3aadc6515f673868c594cb0b3c
Author: Pranav Kant <pranavk at collabora.co.uk>
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 <pranavk at collabora.co.uk>
    Tested-by: pranavk <pranavk at collabora.co.uk>

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);


More information about the Libreoffice-commits mailing list