From 82c28c458030a4db376662853366fb79ae19229e Mon Sep 17 00:00:00 2001 From: Vyacheslav Shebanov Date: Thu, 4 Jun 2015 15:57:25 +0300 Subject: [PATCH] remove prevent defaults from listeners --- lib/drag.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/drag.js b/lib/drag.js index 042c2d6..c92a08e 100644 --- a/lib/drag.js +++ b/lib/drag.js @@ -62,7 +62,6 @@ Drag.prototype._setupHandle = function(el) { Drag.prototype._start = function(evt) { this._startTime = Date.now() - evt.preventDefault() this._mousedown = true this._interaction = this._phys.interact({ boundary: this._opts.boundary, @@ -84,7 +83,6 @@ Drag.prototype._move = function(evt) { Drag.prototype._end = function(evt) { if(!this._mousedown) return - evt.preventDefault() this._mousedown = false