Droppable .is(accept) on init() fixed

This commit is contained in:
Eduardo Lundgren
2008-07-14 15:55:33 +00:00
parent 3b300faa61
commit 0aa54f8dfc

View File

@@ -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) {