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

Henry Castro hcastro at collabora.com
Tue Nov 21 20:59:50 UTC 2017


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

New commits:
commit 4d6a74421ba6c62f5aac727c94458be4d79dd3f7
Author: Henry Castro <hcastro at collabora.com>
Date:   Tue Nov 21 16:58:10 2017 -0400

    loleaflet: fix initialization of unused variable location
    
    Change-Id: I1cf537a7e50b6bf40ebb2b309e112b536a8971c5

diff --git a/loleaflet/src/control/Control.LokDialog.js b/loleaflet/src/control/Control.LokDialog.js
index 514cfd69..f64c19e4 100644
--- a/loleaflet/src/control/Control.LokDialog.js
+++ b/loleaflet/src/control/Control.LokDialog.js
@@ -152,7 +152,6 @@ L.Control.LokDialog = L.Control.extend({
 		var ctrl = e.originalEvent.ctrlKey ? this._map['keyboard'].keyModifier.ctrl : 0;
 		var alt = e.originalEvent.altKey ? this._map['keyboard'].keyModifier.alt : 0;
 		var cmd = e.originalEvent.metaKey ? this._map['keyboard'].keyModifier.ctrl : 0;
-		var location = e.originalEvent.location;
 		this.modifier = shift | ctrl | alt | cmd;
 
 		var charCode = e.originalEvent.charCode;


More information about the Libreoffice-commits mailing list