From 38028f6de1ae1bb34a30d04cacab5d49a1433e7a Mon Sep 17 00:00:00 2001 From: Corey Frang Date: Fri, 29 Jul 2011 13:12:34 -0500 Subject: [PATCH] Autocomplete: Correcting readOnly from readonly - @scottgonzalez --- ui/jquery.ui.autocomplete.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5