aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/yomichan.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-10-21 20:43:09 -0700
committerAlex Yatskov <alex@foosoft.net>2016-10-21 20:43:09 -0700
commit83f5bd24dfeb60637141ddc7cd0b99513ac74eec (patch)
tree49e4ea33d0366f0daf0d38bd89426dd8e5d8d436 /ext/bg/js/yomichan.js
parent5467ed11e10addf2ceedf062ce151d88ea448fd1 (diff)
Enable katakana soft search (resolves #14)
Diffstat (limited to 'ext/bg/js/yomichan.js')
-rw-r--r--ext/bg/js/yomichan.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/yomichan.js b/ext/bg/js/yomichan.js
index 3091e503..7bca579d 100644
--- a/ext/bg/js/yomichan.js
+++ b/ext/bg/js/yomichan.js
@@ -243,7 +243,7 @@ class Yomichan {
}
api_findTerm({text, callback}) {
- promiseCallback(this.translator.findTerm(text), callback);
+ promiseCallback(this.translator.findTerm(text, this.options.enableSoftKatakanaSearch), callback);
}
api_renderText({template, data, callback}) {