fix typo
This commit is contained in:
parent
0f914b6409
commit
4583eb13e0
2
dist/leaflet-src.js
vendored
2
dist/leaflet-src.js
vendored
@ -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
2
dist/leaflet.js
vendored
File diff suppressed because one or more lines are too long
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user