[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-3' - loleaflet/src

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Sep 20 15:46:01 UTC 2018


 loleaflet/src/map/Map.js |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

New commits:
commit 38fd910bee95c63a6b3f2e82c20f82346d4a526a
Author:     Henry Castro <hcastro at collabora.com>
AuthorDate: Thu Sep 20 11:17:38 2018 -0400
Commit:     Jan Holesovsky <kendy at 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 <kendy at collabora.com>
    Tested-by: Jan Holesovsky <kendy at 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) {


More information about the Libreoffice-commits mailing list