diff options
author | Alex Yatskov <alex@foosoft.net> | 2017-04-23 11:10:35 -0700 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2017-04-23 11:10:35 -0700 |
commit | a209228c311a13328ecdda4056a9302885639195 (patch) | |
tree | f412a23f65cbd3f325937d8cd94e8ccec5b7ef28 /ext/bg/js/yomichan.js | |
parent | 3523b85be0be618b00cd9b6992aaf255de12ebfb (diff) | |
parent | 3319d0d3cdaf98a8fd57b7c51e745f60960f607e (diff) |
Merge branch 'master' into firefox-amo
Diffstat (limited to 'ext/bg/js/yomichan.js')
-rw-r--r-- | ext/bg/js/yomichan.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/yomichan.js b/ext/bg/js/yomichan.js index 51e05c80..172bb1d3 100644 --- a/ext/bg/js/yomichan.js +++ b/ext/bg/js/yomichan.js @@ -107,7 +107,7 @@ window.yomichan = new class { this.translator.findTermsGrouped.bind(this.translator) : this.translator.findTerms.bind(this.translator); - return searcher(text, dictEnabledSet(this.options), this.options.general.softKatakana).then(({definitions, length}) => { + return searcher(text, dictEnabledSet(this.options), this.options.general.softKatakana, this.options.scanning.alphanumeric).then(({definitions, length}) => { return {length, definitions: definitions.slice(0, this.options.general.maxResults)}; }); } |