diff --git a/src/dom/Draggable.js b/src/dom/Draggable.js index eb2a948c7e8..c018db4717a 100644 --- a/src/dom/Draggable.js +++ b/src/dom/Draggable.js @@ -31,9 +31,7 @@ L.Draggable = L.Class.extend({ _onDown: function(e) { if (e.shiftKey || ((e.which != 1) && (e.button != 1) && !e.touches)) { return; } - if (!e.touches) { - L.DomEvent.preventDefault(e); - } + L.DomEvent.preventDefault(e); if (e.touches && e.touches.length > 1) { return; } if (e.touches && e.touches.length == 1) { e = e.touches[0]; } @@ -98,4 +96,4 @@ L.Draggable = L.Class.extend({ _restoreCursor: function() { document.body.style.cursor = this._bodyCursor; } -}); \ No newline at end of file +});