diff options
author | Scott González <scott.gonzalez@gmail.com> | 2010-07-21 14:56:15 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2010-07-21 14:56:15 -0400 |
commit | 4c55071976168db5d002f93bcd56fc61e4f55d1f (patch) | |
tree | 4ab2f1f9a108a5e0164320d93b7c8be293abab1a | |
parent | 74e0d4f47301ff854ec741434da1351544a1a55d (diff) | |
download | jquery-ui-4c55071976168db5d002f93bcd56fc61e4f55d1f.tar.gz jquery-ui-4c55071976168db5d002f93bcd56fc61e4f55d1f.zip |
Autocomplete: Fixed bad reference to ownerDocument.
-rw-r--r-- | ui/jquery.ui.autocomplete.js | 2 |
1 files changed, 1 insertions, 1 deletions
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] ) } }, |