mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-27 05:14:53 -05:00
Update sortable.js
This commit is contained in:
@@ -1686,9 +1686,9 @@ Sortable.prototype =
|
|||||||
|
|
||||||
if (ghostRelativeParent !== document.body && ghostRelativeParent !== document.documentElement) {
|
if (ghostRelativeParent !== document.body && ghostRelativeParent !== document.documentElement) {
|
||||||
if (ghostRelativeParent === document) ghostRelativeParent = getWindowScrollingElement();
|
if (ghostRelativeParent === document) ghostRelativeParent = getWindowScrollingElement();
|
||||||
console.log(ghostRelativeParent, contained, this)
|
console.log(ghostRelativeParent, container, this)
|
||||||
rect.top += ghostRelativeParent.scrollTop;
|
//rect.top += ghostRelativeParent.scrollTop;
|
||||||
rect.left += ghostRelativeParent.scrollLeft;
|
//rect.left += ghostRelativeParent.scrollLeft;
|
||||||
} else {
|
} else {
|
||||||
ghostRelativeParent = getWindowScrollingElement();
|
ghostRelativeParent = getWindowScrollingElement();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user