提交 0a1bab7b 编写于 作者: O Owen Mills

#2025: Fix reverting with nested sortables

上级 e83eb7ee
......@@ -1131,7 +1131,7 @@ Sortable.prototype = /** @lends Sortable.prototype */ {
if (activeSortable && !options.disabled &&
(isOwner
? canSort || (revert = !rootEl.contains(dragEl)) // Reverting item into the original list
? canSort || (revert = parentEl !== rootEl) // Reverting item into the original list
: (
putSortable === this ||
(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册