@@ -63,7 +63,7 @@ $.widget( "ui.autocomplete", {
63
63
} )
64
64
. bind ( "keydown.autocomplete" , function ( event ) {
65
65
if ( self . options . disabled || self . element . attr ( "readonly" ) ) {
66
- suppressKeyPress = true ;
66
+ suppressKeyPress = true ;
67
67
suppressInput = true ;
68
68
return ;
69
69
}
@@ -73,21 +73,21 @@ $.widget( "ui.autocomplete", {
73
73
var keyCode = $ . ui . keyCode ;
74
74
switch ( event . keyCode ) {
75
75
case keyCode . PAGE_UP :
76
- suppressKeyPress = true ;
76
+ suppressKeyPress = true ;
77
77
self . _move ( "previousPage" , event ) ;
78
78
break ;
79
79
case keyCode . PAGE_DOWN :
80
- suppressKeyPress = true ;
80
+ suppressKeyPress = true ;
81
81
self . _move ( "nextPage" , event ) ;
82
82
break ;
83
83
case keyCode . UP :
84
- suppressKeyPress = true ;
84
+ suppressKeyPress = true ;
85
85
self . _move ( "previous" , event ) ;
86
86
// prevent moving cursor to beginning of text field in some browsers
87
87
event . preventDefault ( ) ;
88
88
break ;
89
89
case keyCode . DOWN :
90
- suppressKeyPress = true ;
90
+ suppressKeyPress = true ;
91
91
self . _move ( "next" , event ) ;
92
92
// prevent moving cursor to end of text field in some browsers
93
93
event . preventDefault ( ) ;
@@ -122,7 +122,7 @@ $.widget( "ui.autocomplete", {
122
122
if ( suppressKeyPress ) {
123
123
suppressKeyPress = false ;
124
124
event . preventDefault ( ) ;
125
- return ;
125
+ return ;
126
126
}
127
127
128
128
// replicate some key handlers to allow them to repeat in Firefox and Opera
@@ -144,7 +144,7 @@ $.widget( "ui.autocomplete", {
144
144
// prevent moving cursor to end of text field in some browsers
145
145
event . preventDefault ( ) ;
146
146
break ;
147
- }
147
+ }
148
148
} )
149
149
. bind ( "input.autocomplete" , function ( event ) {
150
150
if ( suppressInput ) {
0 commit comments