diff options
author | Alex Yatskov <alex@foosoft.net> | 2017-01-15 22:17:49 -0800 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2017-01-15 22:17:49 -0800 |
commit | e8840465f07f09fbb9acb6071b94489f02ecd87f (patch) | |
tree | a0a4a8bd5ba2783b730e104bbbadd8c1d9975eb7 /ext/fg/js/driver.js | |
parent | eae885b9aae58c587e12ec3992b751d79dfc7bd2 (diff) |
WIP
Diffstat (limited to 'ext/fg/js/driver.js')
-rw-r--r-- | ext/fg/js/driver.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/fg/js/driver.js b/ext/fg/js/driver.js index 25e1c57f..e595b350 100644 --- a/ext/fg/js/driver.js +++ b/ext/fg/js/driver.js @@ -146,7 +146,7 @@ class Driver { searchTerms(textSource) { textSource.setEndOffset(this.options.scanning.length); - const findFunc = this.options.general.groupResults ? findTermGrouped : findTerm; + const findFunc = this.options.general.groupResults ? findTermsGrouped : findTerms; return findFunc(textSource.text()).then(({definitions, length}) => { if (definitions.length === 0) { return false; |