mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Autocomplete: Fixed bad reference to ownerDocument.
This commit is contained in:
parent
74e0d4f473
commit
4c55071976
2
ui/jquery.ui.autocomplete.js
vendored
2
ui/jquery.ui.autocomplete.js
vendored
@ -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] )
|
||||
}
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user