aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
Diffstat (limited to 'ui')
-rw-r--r--ui/ui.droppable.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/ui.droppable.js b/ui/ui.droppable.js
index c71853cf8..8d53273f8 100644
--- a/ui/ui.droppable.js
+++ b/ui/ui.droppable.js
@@ -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);