Changeset 93661be in ammosreader for public/_static/searchtools.js
- Timestamp:
- 06/30/22 13:32:20 (3 years ago)
- Branches:
- AmmosSource, guix
- Children:
- 1491313
- Parents:
- 299c79c
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
public/_static/searchtools.js
r299c79c r93661be 173 173 // stem the word 174 174 var word = stemmer.stemWord(tmp[i].toLowerCase()); 175 // prevent stemmer from cutting word smaller than two chars176 if(word.length < 3 && tmp[i].length >= 3) {177 word = tmp[i];178 }179 175 var toAppend; 180 176 // select the correct list … … 277 273 displayNextItem(); 278 274 }, 5); 279 } else if (DOCUMENTATION_OPTIONS. HAS_SOURCE) {275 } else if (DOCUMENTATION_OPTIONS.SHOW_SEARCH_SUMMARY) { 280 276 $.ajax({url: requestUrl, 281 277 dataType: "text", … … 294 290 }}); 295 291 } else { 296 // no source available,just display title292 // just display title 297 293 Search.output.append(listItem); 298 294 setTimeout(function() {
Note:
See TracChangeset
for help on using the changeset viewer.