From: Vahid Sohrabloo Date: Fri, 1 Feb 2013 22:09:43 +0000 (+0330) Subject: Draggable: Change $.ui.contains() to $.contains(). Fixes #9051 - Draggable: Reference... X-Git-Tag: 1.10.1~21 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2df2abcbf139262e1ed3e1b9aa19d3ffc6b59cb9;p=jquery-ui.git Draggable: Change $.ui.contains() to $.contains(). Fixes #9051 - Draggable: Reference to undefined $.ui.contains(). --- 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; }