[Libreoffice-commits] online.git: loleaflet/src
Pranav Kant
pranavk at collabora.co.uk
Thu Feb 8 11:16:01 UTC 2018
loleaflet/src/map/handler/Map.Keyboard.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit ed9253208c728feeea0dcfae897e3d9af2e3258f
Author: Pranav Kant <pranavk at collabora.co.uk>
Date: Thu Feb 8 16:45:19 2018 +0530
fix some lint errors
Change-Id: I33bcb37afffd9614e3b64e90c556a46ce36f4327
diff --git a/loleaflet/src/map/handler/Map.Keyboard.js b/loleaflet/src/map/handler/Map.Keyboard.js
index a707a710..95433c8d 100644
--- a/loleaflet/src/map/handler/Map.Keyboard.js
+++ b/loleaflet/src/map/handler/Map.Keyboard.js
@@ -384,7 +384,7 @@ L.Map.Keyboard = L.Handler.extend({
if (!this._keyHandled && this._bufferedTextInputEvent) {
var textInputData = this._bufferedTextInputEvent.originalEvent.data;
charCode = e.originalEvent.keyCode;
- for (idx = 0; i < textInputData.length; i++) {
+ for (var idx = 0; i < textInputData.length; i++) {
postEventFn.call(eventObject, 'input', textInputData[idx].charCodeAt(), 0);
}
}
More information about the Libreoffice-commits
mailing list