Skip to content
Permalink
Browse files

Draggable: Change $.ui.contains() to $.contains(). Fixes #9051 - Drag…

…gable: Reference to undefined $.ui.contains().
  • Loading branch information...
vahid-sohrabloo authored and scottgonzalez committed Feb 1, 2013
1 parent df17954 commit 2df2abcbf139262e1ed3e1b9aa19d3ffc6b59cb9
Showing with 1 addition and 1 deletion.
  1. +1 −1 ui/jquery.ui.draggable.js
@@ -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;
}

0 comments on commit 2df2abc

Please sign in to comment.
You can’t perform that action at this time.