mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Autocomplete demo: Fixed reference to widget instance.
This commit is contained in:
parent
649f105229
commit
f20cd5429a
@ -66,7 +66,7 @@
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.data( "autocomplete" )._renderItem = function( ul, item ) {
|
.data( "ui-autocomplete" )._renderItem = function( ul, item ) {
|
||||||
return $( "<li>" )
|
return $( "<li>" )
|
||||||
.append( "<a>" + item.label + "<br>" + item.desc + "</a>" )
|
.append( "<a>" + item.label + "<br>" + item.desc + "</a>" )
|
||||||
.appendTo( ul );
|
.appendTo( ul );
|
||||||
|
Loading…
Reference in New Issue
Block a user