revert remove preventDefault #1782, breaks FF
This commit is contained in:
parent
78900af8bc
commit
3076210fd1
@ -48,7 +48,9 @@ L.Draggable = L.Class.extend({
|
|||||||
_onDown: function (e) {
|
_onDown: function (e) {
|
||||||
if (e.shiftKey || ((e.which !== 1) && (e.button !== 1) && !e.touches)) { return; }
|
if (e.shiftKey || ((e.which !== 1) && (e.button !== 1) && !e.touches)) { return; }
|
||||||
|
|
||||||
L.DomEvent.stopPropagation(e);
|
L.DomEvent
|
||||||
|
.preventDefault(e)
|
||||||
|
.stopPropagation(e);
|
||||||
|
|
||||||
if (L.Draggable._disabled) { return; }
|
if (L.Draggable._disabled) { return; }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user