From 2ecd5034ea040cfcff84f2a97e6e42a636ee84fb Mon Sep 17 00:00:00 2001 From: Lebedev Konstantin Date: Wed, 15 Feb 2017 19:27:14 +0300 Subject: [PATCH] #1009 --- Sortable.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Sortable.js b/Sortable.js index e0aa81f..087582a 100644 --- a/Sortable.js +++ b/Sortable.js @@ -492,6 +492,8 @@ // Drag start event _dispatchEvent(this, rootEl, 'start', dragEl, rootEl, oldIndex); + } else { + this._nulling(); } }, @@ -668,7 +670,7 @@ moved = true; - if (activeGroup && !options.disabled && + if (activeSortable && !options.disabled && (isOwner ? canSort || (revert = !rootEl.contains(dragEl)) // Reverting item into the original list : (