[Libreoffice-commits] online.git: loleaflet/src

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Sep 27 13:52:14 UTC 2018


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

New commits:
commit d1b7f10e8f63f14c266880ec4a1bb62091ae3d01
Author:     Henry Castro <hcastro at collabora.com>
AuthorDate: Thu Sep 20 11:17:38 2018 -0400
Commit:     Henry Castro <hcastro at collabora.com>
CommitDate: Thu Sep 27 09:51:44 2018 -0400

    loleaflet: remove docLayer precondition when the map is focused
    
    Change-Id: Id7fb2e9d7823a788cb40cd3a953b3f024dd22ee5

diff --git a/loleaflet/src/map/Map.js b/loleaflet/src/map/Map.js
index fb075ff15..07ba04098 100644
--- a/loleaflet/src/map/Map.js
+++ b/loleaflet/src/map/Map.js
@@ -662,11 +662,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