1. Georg Brandl
  2. sphinx

Commits

Jon Waltman  committed cfbdd84

Fix local search which was broken by correcting JS issues found by JSHint (commit 46d08152a30d)

  • Participants
  • Parent commits 1b65a7c
  • Branches default

Comments (0)

Files changed (1)

File sphinx/themes/basic/static/searchtools.js_t

View file
     for (i = 0; i < searchterms.length; i++) {
       var word = searchterms[i];
       // no match but word was a required one
-      if ((files = terms[word]) === null)
+      if (!(files = terms[word]))
         break;
       if (files.length === undefined) {
         files = [files];