fix draggable
This commit is contained in:
parent
0178d1c2d1
commit
9437cfda37
@ -29,10 +29,8 @@ L.Draggable = L.Class.extend({
|
||||
},
|
||||
|
||||
_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 true; }
|
||||
|
||||
L.DomEvent.preventDefault(e);
|
||||
|
||||
if (e.touches && e.touches.length > 1) { return; }
|
||||
if (e.touches && e.touches.length == 1) { e = e.touches[0]; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user