loleaflet/src/map/Map.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
New commits: commit 097f4008fa080620bd5e720178cb6866767e772e Author: Tor Lillqvist <t...@collabora.com> AuthorDate: Wed Aug 12 09:59:02 2020 +0300 Commit: Tor Lillqvist <t...@collabora.com> CommitDate: Wed Aug 12 10:41:39 2020 +0200 Nothing sets _wasSingleTap and there is no Map.Tap.js any more This should have been cleaned away when Map.Tap.js was removed in a89d122479fd5aaae723ab8e646b705472b50591 "remove obsolete Map.Tap handler". Change-Id: Ic3946da8097089af1fb51e7b7a5f1c2e1b82c98b Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100576 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> Reviewed-by: Tor Lillqvist <t...@collabora.com> diff --git a/loleaflet/src/map/Map.js b/loleaflet/src/map/Map.js index 283b6bbfd..6f5677a26 100644 --- a/loleaflet/src/map/Map.js +++ b/loleaflet/src/map/Map.js @@ -1541,11 +1541,7 @@ L.Map = L.Evented.extend({ // .focus() method on hidden input within actual 'click' event here // Calling from some other place with no real 'click' event doesn't work. - // (tml: For me, for this to work with a mobile device, we need to - // accept 'mouseup', too, and check the _wasSingleTap flag set over in Map.Tap.js.) - if (type === 'click' || type === 'dblclick' || (type === 'mouseup' && - typeof this._container._wasSingleTap !== 'undefined' && - this._container._wasSingleTap)) { + if (type === 'click' || type === 'dblclick') { if (this.isPermissionEdit()) { this.fire('editorgotfocus'); this.focus(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits