From dfe72422e51290a8f53f232f0bbc8d4600999262 Mon Sep 17 00:00:00 2001 From: Richard Worth Date: Wed, 18 Mar 2009 12:22:08 +0000 Subject: Fixed #4341 - Selectable: option appendTo is ignored, helper always appends to body --- ui/ui.selectable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui') diff --git a/ui/ui.selectable.js b/ui/ui.selectable.js index 5eb34a54b..49cdd805f 100644 --- a/ui/ui.selectable.js +++ b/ui/ui.selectable.js @@ -75,7 +75,7 @@ $.widget("ui.selectable", $.extend({}, $.ui.mouse, { this._trigger("start", event); - $('body').append(this.helper); + $(options.appendTo).append(this.helper); // position helper (lasso) this.helper.css({ "z-index": 100, -- cgit v1.2.3