diff options
Diffstat (limited to 'ui/jquery.ui.autocomplete.js')
-rw-r--r-- | ui/jquery.ui.autocomplete.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/jquery.ui.autocomplete.js b/ui/jquery.ui.autocomplete.js index 25d909f8d..617aa9c70 100644 --- a/ui/jquery.ui.autocomplete.js +++ b/ui/jquery.ui.autocomplete.js @@ -3,7 +3,7 @@ * http://jqueryui.com * * Copyright 2012 jQuery Foundation and other contributors - * Dual licensed under the MIT or GPL Version 2 licenses. + * Released under the MIT license. * http://jquery.org/license * * http://docs.jquery.com/UI/Autocomplete @@ -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 ) { |