Autocomplete demo: Fixed reference to widget instance.

This commit is contained in:
Scott González 2013-01-24 18:12:26 -05:00
parent 649f105229
commit f20cd5429a

View File

@ -66,7 +66,7 @@
return false;
}
})
.data( "autocomplete" )._renderItem = function( ul, item ) {
.data( "ui-autocomplete" )._renderItem = function( ul, item ) {
return $( "<li>" )
.append( "<a>" + item.label + "<br>" + item.desc + "</a>" )
.appendTo( ul );