revert remove preventDefault #1782, breaks FF

This commit is contained in:
Vladimir Agafonkin 2013-06-24 23:55:08 -04:00
parent 78900af8bc
commit 3076210fd1

View File

@ -48,7 +48,9 @@ L.Draggable = L.Class.extend({
_onDown: function (e) {
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; }