aboutsummaryrefslogtreecommitdiffstats
path: root/demos/autocomplete/custom-data.html
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2013-01-24 18:12:26 -0500
committerScott González <scott.gonzalez@gmail.com>2013-01-24 18:12:26 -0500
commitf20cd5429adac5d99f69c2de51d04b2d5f421799 (patch)
tree0a7976c9982a0e30d2a7cfc70fbc04ad32d14b41 /demos/autocomplete/custom-data.html
parent649f105229b2a24adc21cba2d56cb05a59711ccb (diff)
downloadjquery-ui-f20cd5429adac5d99f69c2de51d04b2d5f421799.tar.gz
jquery-ui-f20cd5429adac5d99f69c2de51d04b2d5f421799.zip
Autocomplete demo: Fixed reference to widget instance.
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 327af4c13..aab331add 100644
--- a/demos/autocomplete/custom-data.html
+++ b/demos/autocomplete/custom-data.html
@@ -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 );