| commit | 8c4bff2b22e4e55c409e31f8059003395db3f240 | [log] |
|---|---|---|
| author | Tor Lillqvist <tml@collabora.com> | Thu Jan 09 14:28:31 2020 +0200 |
| committer | Tor Lillqvist <tml@collabora.com> | Thu Jan 09 13:56:19 2020 +0100 |
| tree | 78fa6e620a5115cbcb8adcb6c2b2ba764bc1d20d | |
| parent | d10bbef7499c0d19791fab85e83b7e44d8da01b1 [diff] |
tdf#129327: Ignore all keydown events at the outermost level for iOS Possibly a good idea for Android, too? See bug report for description of what this fixes. Change-Id: I6b70f431ced09044756c2edc3fcc2542428b62e1 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86484 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Tor Lillqvist <tml@collabora.com>
diff --git a/loleaflet/html/loleaflet.html.m4 b/loleaflet/html/loleaflet.html.m4 index 7639bf9..ad6d90f 100644 --- a/loleaflet/html/loleaflet.html.m4 +++ b/loleaflet/html/loleaflet.html.m4
@@ -65,6 +65,10 @@ [ window.ThisIsTheAndroidApp = false;] ) if (window.ThisIsTheiOSApp) { window.addEventListener("keydown", function(e) { e.preventDefault(); }); } var Base64ToArrayBuffer = function(base64Str) { var binStr = atob(base64Str); var ab = new ArrayBuffer(binStr.length);