From be4aee2eb6b14e5cd22335efbbd43b4ad6e6d98e Mon Sep 17 00:00:00 2001 From: Lebedev Konstantin Date: Wed, 6 Jul 2016 18:12:51 +0300 Subject: [PATCH] #901: * nulling --- Sortable.js | 36 +++++++++++++++++------------------- 1 file changed, 17 insertions(+), 19 deletions(-) diff --git a/Sortable.js b/Sortable.js index 5ea1709..a5a2d42 100644 --- a/Sortable.js +++ b/Sortable.js @@ -891,30 +891,28 @@ _nulling: function() { - if (Sortable.active === this) { - rootEl = - dragEl = - parentEl = - ghostEl = - nextEl = - cloneEl = + rootEl = + dragEl = + parentEl = + ghostEl = + nextEl = + cloneEl = - scrollEl = - scrollParentEl = + scrollEl = + scrollParentEl = - tapEvt = - touchEvt = + tapEvt = + touchEvt = - moved = - newIndex = + moved = + newIndex = - lastEl = - lastCSS = + lastEl = + lastCSS = - putSortable = - activeGroup = - Sortable.active = null; - } + putSortable = + activeGroup = + Sortable.active = null; }, handleEvent: function (/**Event*/evt) {