mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Draggable: Change $.ui.contains() to $.contains(). Fixes #9051 - Draggable: Reference to undefined $.ui.contains().
This commit is contained in:
parent
df179542cc
commit
2df2abcbf1
2
ui/jquery.ui.draggable.js
vendored
2
ui/jquery.ui.draggable.js
vendored
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user