From 2df2abcbf139262e1ed3e1b9aa19d3ffc6b59cb9 Mon Sep 17 00:00:00 2001 From: Vahid Sohrabloo Date: Sat, 2 Feb 2013 01:39:43 +0330 Subject: [PATCH] Draggable: Change $.ui.contains() to $.contains(). Fixes #9051 - Draggable: Reference to undefined $.ui.contains(). --- ui/jquery.ui.draggable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5