Merge pull request #1011 from waldir/patch-2

Fix compatibility with SmoothWheel extension for Firefox (issue #916)
This commit is contained in:
Vladimir Agafonkin 2012-09-24 02:03:03 -07:00
commit 1f142c003d

View File

@ -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 () {