Skip to content

Commit

Permalink
fix bug when drag error
Browse files Browse the repository at this point in the history
  • Loading branch information
why520crazy committed Sep 18, 2016
1 parent 3b7c331 commit f88d4da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sortable.js
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@

//如果拖动的目标区域 accept 设置了, 当前拖拽元素不满足,直接返回
if (activeGroup && activeGroup.name === group.name
&& evt.rootEl[expando].options.accept
&& evt.rootEl && evt.rootEl[expando] && evt.rootEl[expando].options.accept
&& !_matches(dragEl, evt.rootEl[expando].options.accept)) {
return;
}
Expand Down

0 comments on commit f88d4da

Please sign in to comment.