Changeset 93661be in ammosreader for public/_static/searchtools.js


Ignore:
Timestamp:
06/30/22 13:32:20 (3 years ago)
Author:
Enrico Schwass <ennoausberlin@…>
Branches:
AmmosSource, guix
Children:
1491313
Parents:
299c79c
Message:

sphinx-apidoc run again

File:
1 moved

Legend:

Unmodified
Added
Removed
  • public/_static/searchtools.js

    r299c79c r93661be  
    173173      // stem the word
    174174      var word = stemmer.stemWord(tmp[i].toLowerCase());
    175       // prevent stemmer from cutting word smaller than two chars
    176       if(word.length < 3 && tmp[i].length >= 3) {
    177         word = tmp[i];
    178       }
    179175      var toAppend;
    180176      // select the correct list
     
    277273            displayNextItem();
    278274          }, 5);
    279         } else if (DOCUMENTATION_OPTIONS.HAS_SOURCE) {
     275        } else if (DOCUMENTATION_OPTIONS.SHOW_SEARCH_SUMMARY) {
    280276          $.ajax({url: requestUrl,
    281277                  dataType: "text",
     
    294290                  }});
    295291        } else {
    296           // no source available, just display title
     292          // just display title
    297293          Search.output.append(listItem);
    298294          setTimeout(function() {
Note: See TracChangeset for help on using the changeset viewer.