loleaflet/src/map/Map.js | 6 ++++++ 1 file changed, 6 insertions(+) New commits: commit d65801299d801eb42549376d9713291226b3cc5c Author: Jan Holesovsky <ke...@collabora.com> AuthorDate: Fri Sep 7 15:16:26 2018 +0200 Commit: Henry Castro <hcas...@collabora.com> CommitDate: Sat Sep 8 02:36:54 2018 +0200
On desktop, focus immediately on startup to get the caret. Change-Id: Ie33805341740e38bef657fbd7677ef7d0c14cee3 Reviewed-on: https://gerrit.libreoffice.org/60149 Reviewed-by: Henry Castro <hcas...@collabora.com> Tested-by: Henry Castro <hcas...@collabora.com> diff --git a/loleaflet/src/map/Map.js b/loleaflet/src/map/Map.js index f93606bc2..79d70c5e5 100644 --- a/loleaflet/src/map/Map.js +++ b/loleaflet/src/map/Map.js @@ -831,6 +831,9 @@ L.Map = L.Evented.extend({ vex.dialogID = -1; this._startInactiveTimer(); + if (!L.Browser.mobile) { + this.focus(); + } return vex.close(id); } } else { @@ -839,6 +842,9 @@ L.Map = L.Evented.extend({ } this._startInactiveTimer(); + if (!L.Browser.mobile) { + this.focus(); + } return false; }, _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits