Draggable: Change $.ui.contains() to $.contains(). Fixes #9051 - Draggable: Reference to undefined $.ui.contains().

This commit is contained in:
Vahid Sohrabloo 2013-02-02 01:39:43 +03:30 committed by Scott González
parent df179542cc
commit 2df2abcbf1

View File

@ -643,7 +643,7 @@ $.ui.plugin.add("draggable", "connectToSortable", {
this.instance.offset.click = inst.offset.click; this.instance.offset.click = inst.offset.click;
if (this !== thisSortable && if (this !== thisSortable &&
this.instance._intersectsWith(this.instance.containerCache) && this.instance._intersectsWith(this.instance.containerCache) &&
$.ui.contains(thisSortable.instance.element[0], this.instance.element[0]) $.contains(thisSortable.instance.element[0], this.instance.element[0])
) { ) {
innermostIntersecting = false; innermostIntersecting = false;
} }