From 07ff86a424e500ad146e6cb3b077555077224bb0 Mon Sep 17 00:00:00 2001 From: RubaXa Date: Tue, 2 Dec 2014 19:40:29 +0300 Subject: [PATCH] #134: revert scrollEl delect --- Sortable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sortable.js b/Sortable.js index 0dd667a..0b5bf0a 100644 --- a/Sortable.js +++ b/Sortable.js @@ -365,7 +365,7 @@ scrollEl = options.scroll; if (scrollEl === true) { - scrollEl = dragEl; + scrollEl = rootEl; do { if ((scrollEl.offsetWidth < scrollEl.scrollWidth) ||