aboutsummaryrefslogtreecommitdiffstats
path: root/demos/autocomplete/multiple-remote.html
diff options
context:
space:
mode:
Diffstat (limited to 'demos/autocomplete/multiple-remote.html')
-rw-r--r--demos/autocomplete/multiple-remote.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/autocomplete/multiple-remote.html b/demos/autocomplete/multiple-remote.html
index ed275628a..c97b3a904 100644
--- a/demos/autocomplete/multiple-remote.html
+++ b/demos/autocomplete/multiple-remote.html
@@ -29,7 +29,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();
}
})