loleaflet/src/map/handler/Map.TouchGesture.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 97a463ae8cedd01e0b4fb09ec0870b7729497f51 Author: Muhammet Kara <muhammet.k...@collabora.com> AuthorDate: Thu Dec 19 05:58:56 2019 +0300 Commit: Muhammet Kara <muhammet.k...@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.me...@collabora.com> Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@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}); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits