diff options
author | Alex Yatskov <alex@foosoft.net> | 2017-03-04 11:45:55 -0800 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2017-03-04 11:45:55 -0800 |
commit | b1950cf47eea6e1e4713285fc883ad6c9ac043c6 (patch) | |
tree | 0b4eec95b4519770dfb91ad70f9faaf577b763ab /ext/fg/js/driver.js | |
parent | ca6d12dd626ba8da9103525462d59f3d63927a93 (diff) |
prelim search support
Diffstat (limited to 'ext/fg/js/driver.js')
-rw-r--r-- | ext/fg/js/driver.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/fg/js/driver.js b/ext/fg/js/driver.js index c953481e..87cce875 100644 --- a/ext/fg/js/driver.js +++ b/ext/fg/js/driver.js @@ -139,8 +139,7 @@ class Driver { searchTerms(textSource) { textSource.setEndOffset(this.options.scanning.length); - const findFunc = this.options.general.groupResults ? bgTermsFindGrouped : bgTermsFind; - return findFunc(textSource.text()).then(({definitions, length}) => { + return bgTermsFind(textSource.text()).then(({definitions, length}) => { if (definitions.length === 0) { return false; } else { |