aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.draggable.js
diff options
context:
space:
mode:
authorVahid Sohrabloo <vahid4134@gmail.com>2013-02-02 01:39:43 +0330
committerScott González <scott.gonzalez@gmail.com>2013-02-02 15:29:31 -0500
commit2df2abcbf139262e1ed3e1b9aa19d3ffc6b59cb9 (patch)
tree0c367c13ff0a6c5658646d4e9cb27b7459487433 /ui/jquery.ui.draggable.js
parentdf179542cc6593b1816d487c72c470a73940ff11 (diff)
downloadjquery-ui-2df2abcbf139262e1ed3e1b9aa19d3ffc6b59cb9.tar.gz
jquery-ui-2df2abcbf139262e1ed3e1b9aa19d3ffc6b59cb9.zip
Draggable: Change $.ui.contains() to $.contains(). Fixes #9051 - Draggable: Reference to undefined $.ui.contains().
Diffstat (limited to 'ui/jquery.ui.draggable.js')
-rw-r--r--ui/jquery.ui.draggable.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.draggable.js b/ui/jquery.ui.draggable.js
index cbf5e1747..9a31add7c 100644
--- a/ui/jquery.ui.draggable.js
+++ b/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;
}