Merge pull request #1011 from waldir/patch-2
Fix compatibility with SmoothWheel extension for Firefox (issue #916)
This commit is contained in:
commit
1f142c003d
@ -32,6 +32,7 @@ L.Map.ScrollWheelZoom = L.Handler.extend({
|
|||||||
this._timer = setTimeout(L.Util.bind(this._performZoom, this), left);
|
this._timer = setTimeout(L.Util.bind(this._performZoom, this), left);
|
||||||
|
|
||||||
L.DomEvent.preventDefault(e);
|
L.DomEvent.preventDefault(e);
|
||||||
|
L.DomEvent.stopPropagation(e);
|
||||||
},
|
},
|
||||||
|
|
||||||
_performZoom: function () {
|
_performZoom: function () {
|
||||||
|
Loading…
Reference in New Issue
Block a user