This commit is contained in:
mourner 2012-02-24 23:20:50 +02:00
parent 0f914b6409
commit 4583eb13e0
3 changed files with 3 additions and 3 deletions

2
dist/leaflet-src.js vendored
View File

@ -4744,7 +4744,7 @@ L.Map.Drag = L.Handler.extend({
options = map.options,
delay = +new Date() - this._lastTime;
if (!options.inertia || delay > options.inertiaTreshold) {
if (!options.inertia || delay > options.inertiaThreshold) {
map
.fire('moveend')
.fire('dragend');

2
dist/leaflet.js vendored

File diff suppressed because one or more lines are too long

View File

@ -91,7 +91,7 @@ L.Map.Drag = L.Handler.extend({
options = map.options,
delay = +new Date() - this._lastTime;
if (!options.inertia || delay > options.inertiaTreshold) {
if (!options.inertia || delay > options.inertiaThreshold) {
map
.fire('moveend')
.fire('dragend');