]> source.dussan.org Git - jquery-ui.git/commitdiff
Draggable: Change $.ui.contains() to $.contains(). Fixes #9051 - Draggable: Reference...
authorVahid Sohrabloo <vahid4134@gmail.com>
Fri, 1 Feb 2013 22:09:43 +0000 (01:39 +0330)
committerScott González <scott.gonzalez@gmail.com>
Sat, 2 Feb 2013 20:29:31 +0000 (15:29 -0500)
ui/jquery.ui.draggable.js

index cbf5e1747012945315c9ffbfc28f0e475b9b776c..9a31add7c5e6592b543eddfe3ea1392bfd0966a1 100644 (file)
@@ -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;
                                        }