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

Henry Castro hcastro at collabora.com
Tue Nov 21 20:52:08 UTC 2017


 loleaflet/src/control/Control.LokDialog.js |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 82e976bc5fe234120184c781be3af1d85e2f7394
Author: Henry Castro <hcastro at collabora.com>
Date:   Tue Nov 21 16:49:49 2017 -0400

    loleaflet: fix initialization of unused variable docLayer
    
    Change-Id: I73aac201a26c8bf60b3a7d17fd4cb4b4b17ae4b1

diff --git a/loleaflet/src/control/Control.LokDialog.js b/loleaflet/src/control/Control.LokDialog.js
index 0914d9b6..514cfd69 100644
--- a/loleaflet/src/control/Control.LokDialog.js
+++ b/loleaflet/src/control/Control.LokDialog.js
@@ -147,7 +147,6 @@ L.Control.LokDialog = L.Control.extend({
 	},
 
 	_handleDialogKeyEvent: function(e) {
-		var docLayer = this._map._docLayer;
 		this.modifier = 0;
 		var shift = e.originalEvent.shiftKey ? this._map['keyboard'].keyModifier.shift : 0;
 		var ctrl = e.originalEvent.ctrlKey ? this._map['keyboard'].keyModifier.ctrl : 0;


More information about the Libreoffice-commits mailing list