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

Pranav Kant pranavk at collabora.co.uk
Tue Feb 20 07:17:01 UTC 2018


 loleaflet/src/map/Map.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 77a8f5b2e7652c4e6021f23d2dbb0dc450a7df37
Author: Pranav Kant <pranavk at collabora.co.uk>
Date:   Tue Feb 20 12:44:38 2018 +0530

    Fix double handling of ctrl key
    
    Regressed from 1e91799663945fdfde84385bcfbb96fd03c6fe2e
    
    Thanks Aron for bisecting.
    
    Change-Id: Ida2a62d74440083e747903562a0c9e6a5a550eb1

diff --git a/loleaflet/src/map/Map.js b/loleaflet/src/map/Map.js
index c90b6a0c..b8e4f1d3 100644
--- a/loleaflet/src/map/Map.js
+++ b/loleaflet/src/map/Map.js
@@ -692,7 +692,7 @@ L.Map = L.Evented.extend({
 			throw new Error('Map container is already initialized.');
 		}
 
-		var textAreaContainer = L.DomUtil.create('div', 'clipboard-container', container);
+		var textAreaContainer = L.DomUtil.create('div', 'clipboard-container', container.parentElement);
 		textAreaContainer.id = 'doc-clipboard-container';
 		this._textArea = L.DomUtil.create('input', 'clipboard', textAreaContainer);
 		this._textArea.setAttribute('type', 'text');


More information about the Libreoffice-commits mailing list