From a75e5d874b5d017ee2f786c2206a19311be9f2e7 Mon Sep 17 00:00:00 2001 From: Kyle <41976328+ImKyle4815@users.noreply.github.com> Date: Tue, 31 Mar 2020 15:15:03 -0700 Subject: [PATCH] Update sortable.js --- data/scripts/sortable.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/data/scripts/sortable.js b/data/scripts/sortable.js index dd43b14b..db96d528 100644 --- a/data/scripts/sortable.js +++ b/data/scripts/sortable.js @@ -1686,9 +1686,9 @@ Sortable.prototype = if (ghostRelativeParent !== document.body && ghostRelativeParent !== document.documentElement) { if (ghostRelativeParent === document) ghostRelativeParent = getWindowScrollingElement(); - console.log(ghostRelativeParent, contained, this) - rect.top += ghostRelativeParent.scrollTop; - rect.left += ghostRelativeParent.scrollLeft; + console.log(ghostRelativeParent, container, this) + //rect.top += ghostRelativeParent.scrollTop; + //rect.left += ghostRelativeParent.scrollLeft; } else { ghostRelativeParent = getWindowScrollingElement(); }