Permalink
Browse files

fix typo in movestart fire

  • Loading branch information...
1 parent 9686b73 commit 315ebb1eb5b62495076e445878cbf75d8300e251 @mourner mourner committed Nov 18, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/map/ext/Map.PanAnimation.js
View
2 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)

0 comments on commit 315ebb1

Please sign in to comment.