diff options
author | Alex Yatskov <alex@foosoft.net> | 2017-05-24 20:29:50 -0700 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2017-05-24 20:29:50 -0700 |
commit | 867f7dd24f21c3cb11642290a78507bd7012de52 (patch) | |
tree | 850d9d11761f37892c529db6742fee742baa717a /ext/bg/js/yomichan.js | |
parent | 0efab9773d0cc6586eb4a1f271821795b6d07f5c (diff) |
make soft katakana search be implicit
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 7be67d01..b4beb179 100644 --- a/ext/bg/js/yomichan.js +++ b/ext/bg/js/yomichan.js @@ -111,7 +111,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, this.options.scanning.alphanumeric).then(({definitions, length}) => { + return searcher(text, dictEnabledSet(this.options), this.options.scanning.alphanumeric).then(({definitions, length}) => { return {length, definitions: definitions.slice(0, this.options.general.maxResults)}; }); } |