Browse Source

Probably better var name #2139

pull/2169/head
jlukic 9 years ago
parent
commit
c4804220aa
1 changed files with 4 additions and 4 deletions
  1. 8
      src/definitions/modules/search.js

8
src/definitions/modules/search.js

@ -425,13 +425,13 @@ $.fn.search = function(parameters) {
: [settings.searchFields],
// avoid duplicates when pushing results
addResult = function(array, content) {
addResult = function(array, result) {
var
notResult = ($.inArray(content, results) == -1),
notFuzzyResult = ($.inArray(content, fuzzyResults) == -1)
notResult = ($.inArray(result, results) == -1),
notFuzzyResult = ($.inArray(result, fuzzyResults) == -1)
;
if(notResult && notFuzzyResult) {
array.push(content);
array.push(result);
}
}
;

Loading…
Cancel
Save