From e6314bb988501d1ecd500c7a4e0909806fce7612 Mon Sep 17 00:00:00 2001 From: Valentin Voilean Date: Sat, 22 Oct 2016 13:05:20 +0200 Subject: [PATCH] "evt.to" doesn't change when the onEnd is called #983 --- Sortable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sortable.js b/Sortable.js index 2a565763a..52acb6faa 100644 --- a/Sortable.js +++ b/Sortable.js @@ -889,7 +889,7 @@ newIndex = oldIndex; } - _dispatchEvent(this, rootEl, 'end', dragEl, rootEl, oldIndex, newIndex); + _dispatchEvent(this, parentEl, 'end', dragEl, rootEl, oldIndex, newIndex); // Save sorting this.save();