From cfd9b520a8b0ec2a7d30acccb6a6851a674b3bfc Mon Sep 17 00:00:00 2001 From: RubaXa Date: Tue, 2 Dec 2014 17:41:04 +0300 Subject: [PATCH] #134: * scrollEl detect --- Sortable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sortable.js b/Sortable.js index a6266ca..4119d97 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) ||