Moving brace to correct position.

This commit is contained in:
jacobtoye 2013-06-21 09:38:44 +12:00
parent b262fdd26b
commit f9920c87f0

View File

@ -257,13 +257,14 @@ L.Map = L.Class.extend({
} else {
if (!changeCenter) {
this._rawPanBy(offset);
}
this.fire('move');
}
clearTimeout(this._sizeTimer);
this._sizeTimer = setTimeout(L.bind(this.fire, this, 'moveend'), 200);
}
this.fire('resize', {
oldSize: oldSize,
newSize: newSize