From 4c55071976168db5d002f93bcd56fc61e4f55d1f Mon Sep 17 00:00:00 2001 From: Scott González Date: Wed, 21 Jul 2010 14:56:15 -0400 Subject: Autocomplete: Fixed bad reference to ownerDocument. --- ui/jquery.ui.autocomplete.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/jquery.ui.autocomplete.js b/ui/jquery.ui.autocomplete.js index 0849ba7eb..f270d0519 100644 --- a/ui/jquery.ui.autocomplete.js +++ b/ui/jquery.ui.autocomplete.js @@ -173,7 +173,7 @@ $.widget( "ui.autocomplete", { this._initSource(); } if ( key === "appendTo" ) { - this.menu.element.appendTo( $( value || "body", this.element.ownerDocument )[0] ) + this.menu.element.appendTo( $( value || "body", this.element[0].ownerDocument )[0] ) } }, -- cgit v1.2.3