lib/sdoc/generator/template/shtml/resources/js/searchdoc.js in voloko-sdoc-0.1.6 vs lib/sdoc/generator/template/shtml/resources/js/searchdoc.js in voloko-sdoc-0.1.7

- old
+ new

@@ -266,10 +266,10 @@ while (state.pass < 3 && state.limit > 0 && togo > 0) { if (state.pass == 0) { matchFunc = matchPass1; hltFunc = highlightQuery; } else if (state.pass == 1) { - matchFunc = matchPass1; + matchFunc = matchPass2; hltFunc = highlightQuery; } else if (state.pass == 2) { matchFunc = matchPassRegexp; hltFunc = highlightRegexp; }