loleaflet/js/main.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
New commits: commit 6d2ba49f9e7429b262de6a64e70703d036b6782d Author: Henry Castro <hcas...@collabora.com> AuthorDate: Sun Aug 26 11:52:50 2018 -0400 Commit: Henry Castro <hcas...@collabora.com> CommitDate: Sun Aug 26 14:23:21 2018 -0400 loleaflet: mobile: enable context menu Change-Id: If6d24d05cc59274b49059b9e05f91dcc0f6cdc6b diff --git a/loleaflet/js/main.js b/loleaflet/js/main.js index 4009109c5..e53a3117f 100644 --- a/loleaflet/js/main.js +++ b/loleaflet/js/main.js @@ -86,6 +86,8 @@ window.addEventListener('beforeunload', function () { } }); -L.DomEvent.on(document, 'contextmenu', L.DomEvent.preventDefault); +if (!L.Browser.mobile) { + L.DomEvent.on(document, 'contextmenu', L.DomEvent.preventDefault); +} }(window)); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits