[Libreoffice-commits] online.git: loleaflet/src
Muhammet Kara (via logerrit)
logerrit at kemper.freedesktop.org
Thu Dec 19 03:37:31 UTC 2019
loleaflet/src/map/handler/Map.TouchGesture.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 97a463ae8cedd01e0b4fb09ec0870b7729497f51
Author: Muhammet Kara <muhammet.kara at collabora.com>
AuthorDate: Thu Dec 19 05:58:56 2019 +0300
Commit: Muhammet Kara <muhammet.kara at collabora.com>
CommitDate: Thu Dec 19 04:37:11 2019 +0100
Amend hyperlink popup click patch
Change-Id: I2c2d5ad0ae209d34ac09dcdea7b6ca14b910e482
Reviewed-on: https://gerrit.libreoffice.org/85465
Reviewed-by: Michael Meeks <michael.meeks at collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
diff --git a/loleaflet/src/map/handler/Map.TouchGesture.js b/loleaflet/src/map/handler/Map.TouchGesture.js
index 6b472a27e..f59604c82 100644
--- a/loleaflet/src/map/handler/Map.TouchGesture.js
+++ b/loleaflet/src/map/handler/Map.TouchGesture.js
@@ -298,7 +298,7 @@ L.Map.TouchGesture = L.Handler.extend({
this._toolbar.remove();
// clicked a hyperlink popup - not really designed for this.
- if (this._map.hyperlinkPopup !== null && e.target != null &&
+ if (this._map.hyperlinkPopup && e.target &&
this._map.hyperlinkPopup._contentNode == e.target.parentNode)
this._map.fire('hyperlinkclicked', {url: e.target.href});
More information about the Libreoffice-commits
mailing list