Skip to content

Commit c974d0f

Browse files
committed
Autocomplete combobox demo: Define this.wrapper for use inside destroy().
1 parent 2017889 commit c974d0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demos/autocomplete/combobox.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
select = this.element.hide(),
4343
selected = select.children( ":selected" ),
4444
value = selected.val() ? selected.text() : "",
45-
wrapper = $( "<span>" )
45+
wrapper = this.wrapper = $( "<span>" )
4646
.addClass( "ui-combobox" )
4747
.insertAfter( select );
4848

0 commit comments

Comments
 (0)