fix typo, thanks @uniphil
This commit is contained in:
parent
a92c8a3c21
commit
7db3473727
@ -40,7 +40,7 @@ L.Map.include(!zoomAnimated ? {} : {
|
||||
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
|
||||
if (transform === proxy.style[prop] & this._animatingZoom) {
|
||||
if (transform === proxy.style[prop] && this._animatingZoom) {
|
||||
this._onZoomTransitionEnd();
|
||||
}
|
||||
}, this);
|
||||
|
Loading…
Reference in New Issue
Block a user