mobile: launch links from link popups when tapped.

Change-Id: I5ba9234d8c253ffdcbfd0d93c6ef72a70ff46f17
Reviewed-on: https://gerrit.libreoffice.org/85462
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
This commit is contained in:
Michael Meeks 2019-12-19 01:48:10 +00:00 committed by Muhammet Kara
parent 0d2db9ba30
commit 25446b4a82

View file

@ -297,6 +297,11 @@ L.Map.TouchGesture = L.Handler.extend({
if (window.ThisIsTheiOSApp)
this._toolbar.remove();
// clicked a hyperlink popup - not really designed for this.
if (this._map.hyperlinkPopup !== null && e.target != null &&
this._map.hyperlinkPopup._contentNode == e.target.parentNode)
this._map.fire('hyperlinkclicked', {url: e.target.href});
this._map.fire('closepopups');
this._map.fire('closemobilewizard');