Continue to preventDefault on touch
This commit is contained in:
parent
37c4842a73
commit
05461bdd11
@ -53,6 +53,10 @@ L.Draggable = L.Class.extend({
|
||||
L.DomEvent
|
||||
.stopPropagation(e);
|
||||
|
||||
if (e.type === 'touchstart') {
|
||||
L.DomEvent.preventDefault(e);
|
||||
}
|
||||
|
||||
if (L.Draggable._disabled) { return; }
|
||||
|
||||
this._simulateClick = true;
|
||||
|
Loading…
Reference in New Issue
Block a user