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:
parent
0d2db9ba30
commit
25446b4a82
1 changed files with 5 additions and 0 deletions
|
@ -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');
|
||||
|
||||
|
|
Loading…
Reference in a new issue