aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.autocomplete.js
diff options
context:
space:
mode:
authorCorey Frang <gnarf@gnarf.net>2011-07-29 13:12:34 -0500
committerCorey Frang <gnarf@gnarf.net>2011-07-29 13:12:34 -0500
commit38028f6de1ae1bb34a30d04cacab5d49a1433e7a (patch)
treeca7d614fb6cb448a2350b0bfaffe2121137f06a0 /ui/jquery.ui.autocomplete.js
parent982b752c3507f8e8512ca02f365a2d854d65a5cc (diff)
downloadjquery-ui-38028f6de1ae1bb34a30d04cacab5d49a1433e7a.tar.gz
jquery-ui-38028f6de1ae1bb34a30d04cacab5d49a1433e7a.zip
Autocomplete: Correcting readOnly from readonly - @scottgonzalez
Diffstat (limited to 'ui/jquery.ui.autocomplete.js')
-rw-r--r--ui/jquery.ui.autocomplete.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.autocomplete.js b/ui/jquery.ui.autocomplete.js
index 59caf625d..09c3707f0 100644
--- a/ui/jquery.ui.autocomplete.js
+++ b/ui/jquery.ui.autocomplete.js
@@ -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;