mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Droppable: droppable('option', 'accept', selector) fails. fixes #4278
This commit is contained in:
parent
ce0988e7b1
commit
73163f471e
@ -51,7 +51,7 @@ $.widget("ui.droppable", {
|
||||
|
||||
if(key == 'accept') {
|
||||
this.options.accept = value && $.isFunction(value) ? value : function(d) {
|
||||
return d.is(accept);
|
||||
return d.is(value);
|
||||
};
|
||||
} else {
|
||||
$.widget.prototype._setData.apply(this, arguments);
|
||||
|
Loading…
Reference in New Issue
Block a user