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

Pranav Kant pranavk at collabora.com
Tue Apr 26 14:34:53 UTC 2016


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

New commits:
commit 80c48ff57908586e31acb4a88b6fd833fba86b45
Author: Pranav Kant <pranavk at collabora.com>
Date:   Tue Apr 26 16:18:38 2016 +0530

    loleaflet: Fix an obvious typo
    
    Change-Id: Id31d44539f78d8747595340c9bf231bbee262231

diff --git a/loleaflet/src/map/handler/Map.Keyboard.js b/loleaflet/src/map/handler/Map.Keyboard.js
index d6138b2..9870ed5 100644
--- a/loleaflet/src/map/handler/Map.Keyboard.js
+++ b/loleaflet/src/map/handler/Map.Keyboard.js
@@ -174,7 +174,7 @@ L.Map.Keyboard = L.Handler.extend({
 	},
 
 	removeHooks: function () {
-		this._map.on('mousedown', this._onMouseDown, this);
+		this._map.off('mousedown', this._onMouseDown, this);
 		this._map.off('keydown keyup keypress', this._onKeyDown, this);
 		this._map.off('compositionend', this._onKeyDown, this);
 	},


More information about the Libreoffice-commits mailing list