Fixes box-zooming in Firefox 18+

This commit is contained in:
fabriceds
2013-02-18 14:38:11 +01:00
parent 39f9e2be10
commit 2591f53a28

View File

@ -46,7 +46,7 @@ L.Draggable = L.Class.extend({
},
_onDown: function (e) {
if ((!L.Browser.touch && e.shiftKey) ||
if (e.shiftKey ||
((e.which !== 1) && (e.button !== 1) && !e.touches)) { return; }
L.DomEvent.preventDefault(e);