aboutsummaryrefslogtreecommitdiffstats
path: root/demos/autocomplete/multiple.html
diff options
context:
space:
mode:
Diffstat (limited to 'demos/autocomplete/multiple.html')
-rw-r--r--demos/autocomplete/multiple.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/autocomplete/multiple.html b/demos/autocomplete/multiple.html
index 68ae3d6a0..909432277 100644
--- a/demos/autocomplete/multiple.html
+++ b/demos/autocomplete/multiple.html
@@ -48,7 +48,7 @@
// don't navigate away from the field on tab when selecting an item
.bind( "keydown", function( event ) {
if ( event.keyCode === $.ui.keyCode.TAB &&
- $( this ).data( "ui-autocomplete" ).menu.active ) {
+ $( this ).autocomplete( "instance" ).menu.active ) {
event.preventDefault();
}
})