diff options
author | Scott González <scott.gonzalez@gmail.com> | 2012-07-30 12:48:47 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-07-30 12:48:47 -0400 |
commit | b68b116adfd48378f1dd6d5b6f0d437a6e8e2d2e (patch) | |
tree | 01dfe0007c672ce583fb85f00f51e35ee1c37a72 /ui/jquery.ui.autocomplete.js | |
parent | 1626c97caa920d72d0bb7501b240e64538ed41cd (diff) | |
download | jquery-ui-b68b116adfd48378f1dd6d5b6f0d437a6e8e2d2e.tar.gz jquery-ui-b68b116adfd48378f1dd6d5b6f0d437a6e8e2d2e.zip |
Autocomplete: Fixed spacing.
Diffstat (limited to 'ui/jquery.ui.autocomplete.js')
-rw-r--r-- | ui/jquery.ui.autocomplete.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/jquery.ui.autocomplete.js b/ui/jquery.ui.autocomplete.js index 25d909f8d..6a16c576e 100644 --- a/ui/jquery.ui.autocomplete.js +++ b/ui/jquery.ui.autocomplete.js @@ -577,7 +577,7 @@ $.widget( "ui.autocomplete", $.ui.autocomplete, { options: { messages: { noResults: "No search results.", - results: function(amount) { + results: function( amount ) { return amount + ( amount > 1 ? " results are" : " result is" ) + " available, use up and down arrow keys to navigate."; } @@ -587,7 +587,7 @@ $.widget( "ui.autocomplete", $.ui.autocomplete, { __response: function( content ) { var message; this._superApply( arguments ); - if ( this.options.disabled || this.cancelSearch) { + if ( this.options.disabled || this.cancelSearch ) { return; } if ( content && content.length ) { |