loleaflet/src/map/Map.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
New commits: commit 38fd910bee95c63a6b3f2e82c20f82346d4a526a Author: Henry Castro <hcas...@collabora.com> AuthorDate: Thu Sep 20 11:17:38 2018 -0400 Commit: Jan Holesovsky <ke...@collabora.com> CommitDate: Thu Sep 20 17:45:44 2018 +0200 loleaflet: remove docLayer precondition when the map is focused Change-Id: Id7fb2e9d7823a788cb40cd3a953b3f024dd22ee5 Reviewed-on: https://gerrit.libreoffice.org/60826 Reviewed-by: Jan Holesovsky <ke...@collabora.com> Tested-by: Jan Holesovsky <ke...@collabora.com> diff --git a/loleaflet/src/map/Map.js b/loleaflet/src/map/Map.js index 80460dc59..769b2969d 100644 --- a/loleaflet/src/map/Map.js +++ b/loleaflet/src/map/Map.js @@ -661,11 +661,7 @@ L.Map = L.Evented.extend({ }, focus: function () { - console.debug('focus:'); - if (this._docLayer) { - console.debug('focus: focussing'); - this._clipboardContainer.focus(); - } + this._clipboardContainer.focus(); }, _fireInitComplete: function (condition) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits