diff options
Diffstat (limited to 'demos/autocomplete/custom-data.html')
-rw-r--r-- | demos/autocomplete/custom-data.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/autocomplete/custom-data.html b/demos/autocomplete/custom-data.html index 4e518db4d..32e6a9ad3 100644 --- a/demos/autocomplete/custom-data.html +++ b/demos/autocomplete/custom-data.html @@ -66,7 +66,7 @@ return false; } }) - .data( "ui-autocomplete" )._renderItem = function( ul, item ) { + .autocomplete( "instance" )._renderItem = function( ul, item ) { return $( "<li>" ) .append( "<a>" + item.label + "<br>" + item.desc + "</a>" ) .appendTo( ul ); |