Skip to content

Commit

Permalink
Draggable: Change $.ui.contains() to $.contains(). Fixes #9051 - Drag…
Browse files Browse the repository at this point in the history
…gable: Reference to undefined $.ui.contains().
  • Loading branch information
vahid-sohrabloo authored and scottgonzalez committed Feb 2, 2013
1 parent df17954 commit 2df2abc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/jquery.ui.draggable.js
Expand Up @@ -643,7 +643,7 @@ $.ui.plugin.add("draggable", "connectToSortable", {
this.instance.offset.click = inst.offset.click;
if (this !== thisSortable &&
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;
}
Expand Down

0 comments on commit 2df2abc

Please sign in to comment.