Skip to content

Commit 4c55071

Browse files
committed
Autocomplete: Fixed bad reference to ownerDocument.
1 parent 74e0d4f commit 4c55071

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/jquery.ui.autocomplete.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ $.widget( "ui.autocomplete", {
173173
this._initSource();
174174
}
175175
if ( key === "appendTo" ) {
176-
this.menu.element.appendTo( $( value || "body", this.element.ownerDocument )[0] )
176+
this.menu.element.appendTo( $( value || "body", this.element[0].ownerDocument )[0] )
177177
}
178178
},
179179

0 commit comments

Comments
 (0)