aboutsummaryrefslogtreecommitdiffstats
path: root/ui/ui.autocomplete.js
diff options
context:
space:
mode:
authorRichard Worth <rdworth@gmail.com>2008-09-20 03:23:42 +0000
committerRichard Worth <rdworth@gmail.com>2008-09-20 03:23:42 +0000
commita522291a7b8a4f44c4d6cf0f1d146eab172bc0c9 (patch)
tree0fc8ca5d5e0dc3de309ce1d32d854556387949dd /ui/ui.autocomplete.js
parent0bae0870d920842f10322763c66bc59541b9158c (diff)
downloadjquery-ui-a522291a7b8a4f44c4d6cf0f1d146eab172bc0c9.tar.gz
jquery-ui-a522291a7b8a4f44c4d6cf0f1d146eab172bc0c9.zip
whitespace: Removed trailing whitespace from non-blank lines
Diffstat (limited to 'ui/ui.autocomplete.js')
-rw-r--r--ui/ui.autocomplete.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/ui.autocomplete.js b/ui/ui.autocomplete.js
index b065f093c..52e5bbb40 100644
--- a/ui/ui.autocomplete.js
+++ b/ui/ui.autocomplete.js
@@ -425,7 +425,7 @@ $.Autocompleter.Cache = function(options) {
var length = 0;
function matchSubset(s, sub) {
- if (!options.matchCase)
+ if (!options.matchCase)
s = s.toLowerCase();
var i = s.indexOf(sub);
if (i == -1) return false;
@@ -466,7 +466,7 @@ $.Autocompleter.Cache = function(options) {
var firstChar = value.charAt(0).toLowerCase();
// if no lookup array for this character exists, look it up now
- if( !stMatchSets[firstChar] )
+ if( !stMatchSets[firstChar] )
stMatchSets[firstChar] = [];
// if the match is a string
@@ -581,7 +581,7 @@ $.Autocompleter.Select = function (options, input, select, config) {
list = $("<ul/>").appendTo(element).mouseover( function(event) {
if(target(event).nodeName && target(event).nodeName.toUpperCase() == 'LI') {
active = $("li", list).removeClass(CLASSES.ACTIVE).index(target(event));
- $(target(event)).addClass(CLASSES.ACTIVE);
+ $(target(event)).addClass(CLASSES.ACTIVE);
}
}).click(function(event) {
$(target(event)).addClass(CLASSES.ACTIVE);