fix typo, thanks @uniphil

This commit is contained in:
Vladimir Agafonkin 2015-03-08 20:34:35 -07:00
parent a92c8a3c21
commit 7db3473727

View File

@ -40,7 +40,7 @@ L.Map.include(!zoomAnimated ? {} : {
L.DomUtil.setTransform(proxy, this.project(e.center, e.zoom), this.getZoomScale(e.zoom, 1)); L.DomUtil.setTransform(proxy, this.project(e.center, e.zoom), this.getZoomScale(e.zoom, 1));
// workaround for case when transform is the same and so transitionend event is not fired // workaround for case when transform is the same and so transitionend event is not fired
if (transform === proxy.style[prop] & this._animatingZoom) { if (transform === proxy.style[prop] && this._animatingZoom) {
this._onZoomTransitionEnd(); this._onZoomTransitionEnd();
} }
}, this); }, this);