Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Autocomplete: Correcting readOnly from readonly - @scottgonzalez
  • Loading branch information
gnarf committed Jul 29, 2011
1 parent 982b752 commit 38028f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/jquery.ui.autocomplete.js
Expand Up @@ -63,7 +63,7 @@ $.widget( "ui.autocomplete", {
"aria-haspopup": "true"
})
.bind( "keydown.autocomplete", function( event ) {
if ( self.options.disabled || self.element.prop( "readonly" ) ) {
if ( self.options.disabled || self.element.prop( "readOnly" ) ) {
suppressKeyPress = true;
suppressInput = true;
return;
Expand Down

0 comments on commit 38028f6

Please sign in to comment.