未验证 提交 584f5e52 编写于 作者: F Flame2057 提交者: GitHub

Return if over el

上级 7bb73f46
......@@ -745,6 +745,8 @@
target = evt.target == el ? evt.target : _closest(evt.target, options.draggable, el);
if (target === el) return;
if (activeSortable && !options.disabled &&
(isOwner
? canSort || (revert = !rootEl.contains(dragEl)) // Reverting item into the original list
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册