Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Callback support for acceptFrom #646

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix for typo
  • Loading branch information
mike16889 authored Jan 22, 2021
commit 379a3cd339c880ab0a5db93cb84a7e87bac61c0b
2 changes: 1 addition & 1 deletion src/isConnected.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import store from './store'
* @param {sortable} destination the container an item is move to
* @param {sortable} dom node currently being dragged
*/
export default (destination: sortable, draggable: node) => {
export default (destination: sortable, dragging: node) => {
// check if valid sortable
if (destination.isSortable === true) {
const acceptFrom = store(destination).getConfig('acceptFrom')
Expand Down