aboutsummaryrefslogtreecommitdiffstats
path: root/ui/ui.droppable.js
diff options
context:
space:
mode:
authorEduardo Lundgren <eduardolundgren@gmail.com>2008-07-14 15:55:33 +0000
committerEduardo Lundgren <eduardolundgren@gmail.com>2008-07-14 15:55:33 +0000
commit0aa54f8dfc6bddfaadc5c84d399a5daced83daa9 (patch)
tree312273c3b387cf155c5425bfe8be5e13a4fde6c9 /ui/ui.droppable.js
parent3b300faa61b953235ccba63b3625c3e8a419e05b (diff)
downloadjquery-ui-0aa54f8dfc6bddfaadc5c84d399a5daced83daa9.tar.gz
jquery-ui-0aa54f8dfc6bddfaadc5c84d399a5daced83daa9.zip
Droppable .is(accept) on init() fixed
Diffstat (limited to 'ui/ui.droppable.js')
-rw-r--r--ui/ui.droppable.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/ui.droppable.js b/ui/ui.droppable.js
index e3cb08873..6833c4dfd 100644
--- a/ui/ui.droppable.js
+++ b/ui/ui.droppable.js
@@ -15,7 +15,8 @@
$.widget("ui.droppable", {
init: function() {
-
+
+ var o = this.options, accept = o.accept;
this.isover = 0; this.isout = 1;
this.options.accept = this.options.accept && this.options.accept.constructor == Function ? this.options.accept : function(d) {