Skip to content
Permalink
Browse files

Autocomplete: Fixed bad reference to ownerDocument.

  • Loading branch information
scottgonzalez committed Jul 21, 2010
1 parent 74e0d4f commit 4c55071976168db5d002f93bcd56fc61e4f55d1f
Showing with 1 addition and 1 deletion.
  1. +1 −1 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] )
}
},

0 comments on commit 4c55071

Please sign in to comment.
You can’t perform that action at this time.