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 63d379067..1bd70f228 100644
--- a/demos/autocomplete/multiple.html
+++ b/demos/autocomplete/multiple.html
@@ -46,7 +46,7 @@
$( "#tags" )
// don't navigate away from the field on tab when selecting an item
- .bind( "keydown", function( event ) {
+ .on( "keydown", function( event ) {
if ( event.keyCode === $.ui.keyCode.TAB &&
$( this ).autocomplete( "instance" ).menu.active ) {
event.preventDefault();