Skip to content

Commit

Permalink
feat(draggable): CSS selectors support in ignore_dragging config opt
Browse files Browse the repository at this point in the history
  • Loading branch information
vieron committed Oct 26, 2013
1 parent 055cc0e commit 0f95624
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jquery.draggable.js
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@
return !$(event.target).is(this.options.handle);
}

return $.inArray(event.target.nodeName, this.options.ignore_dragging) >= 0;
return $(event.target).is(this.options.ignore_dragging.join(', '));
};

//jQuery adapter
Expand Down

0 comments on commit 0f95624

Please sign in to comment.