aboutsummaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
Diffstat (limited to 'demos')
-rw-r--r--demos/autocomplete/categories.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/autocomplete/categories.html b/demos/autocomplete/categories.html
index e3c59ba13..3c436efbd 100644
--- a/demos/autocomplete/categories.html
+++ b/demos/autocomplete/categories.html
@@ -23,7 +23,7 @@
$.widget( "custom.catcomplete", $.ui.autocomplete, {
_create: function() {
this._super();
- this.menu.option( "items", "> :not(.ui-autocomplete-category)" );
+ this.widget().menu( "option", "items", "> :not(.ui-autocomplete-category)" );
},
_renderMenu: function( ul, items ) {
var that = this,