Skip to content

Improve ignoreClass #58

@lark-zet

Description

@lark-zet

How about adding a check for "ignoreClass"?
Now, if you use, for example, the plugin "chosen" in the elements of list, then all its elements also become movable.
Locally in jquery-sortable-lists.js (on mousedown event) I fixed it like this:
target.hasClass( setting.ignoreClass )
->
( target.hasClass( setting.ignoreClass ) || target.closest('.' + setting.ignoreClass).length )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions