From 315ebb1eb5b62495076e445878cbf75d8300e251 Mon Sep 17 00:00:00 2001 From: mourner Date: Fri, 18 Nov 2011 13:02:46 +0200 Subject: [PATCH] fix typo in movestart fire --- src/map/ext/Map.PanAnimation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/map/ext/Map.PanAnimation.js b/src/map/ext/Map.PanAnimation.js index b91c03da..2fc86f9d 100644 --- a/src/map/ext/Map.PanAnimation.js +++ b/src/map/ext/Map.PanAnimation.js @@ -32,7 +32,7 @@ L.Map.include(!(L.Transition && L.Transition.implemented()) ? {} : { this._panTransition.on('step', this._onPanTransitionStep, this); this._panTransition.on('end', this._onPanTransitionEnd, this); } - this.fire(this, 'movestart'); + this.fire('movestart'); this._panTransition.run({ position: L.DomUtil.getPosition(this._mapPane).subtract(offset)