aboutsummaryrefslogtreecommitdiffstats
path: root/demos/autocomplete/custom-data.html
diff options
context:
space:
mode:
Diffstat (limited to 'demos/autocomplete/custom-data.html')
-rw-r--r--demos/autocomplete/custom-data.html2
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 );