Commits

Jon Waltman committed cfbdd84

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

Comments (0)

Files changed (1)

sphinx/themes/basic/static/searchtools.js_t

     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];