mirror of
https://github.com/Leaflet/Leaflet.git
synced 2025-08-16 16:45:22 +00:00
Fixes box-zooming in Firefox 18+
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user