From c71b88f0756a3cafe62eec4a93ddf82b8798d120 Mon Sep 17 00:00:00 2001 From: RubaXa Date: Fri, 6 Feb 2015 11:38:35 +0300 Subject: [PATCH] #251: + 'mousemove' unbind --- Sortable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sortable.js b/Sortable.js index be35fe7..baee3e5 100644 --- a/Sortable.js +++ b/Sortable.js @@ -266,7 +266,6 @@ _on(document, 'dragover', this); if (!supportDraggable) { - _on(document, 'mousemove', this); this._onDragStart(tapEvt, true); } @@ -604,6 +603,7 @@ // Unbind events _off(document, 'drop', this); _off(document, 'dragover', this); + _off(document, 'mousemove', this._onTouchMove); _off(el, 'dragstart', this._onDragStart);