summaryrefslogtreecommitdiff
path: root/ext/bg/js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bg/js')
-rw-r--r--ext/bg/js/translator.js2
-rw-r--r--ext/bg/js/yomichan.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/bg/js/translator.js b/ext/bg/js/translator.js
index 01213bed..bff0082b 100644
--- a/ext/bg/js/translator.js
+++ b/ext/bg/js/translator.js
@@ -43,7 +43,7 @@ class Translator {
});
}
- findTerm(text, enableSoftKatakanaSearch, dictionaries) {
+ findTerm(text, dictionaries, enableSoftKatakanaSearch) {
return this.findTermGroups(text, dictionaries).then(groups => {
const textHiragana = wanakana._katakanaToHiragana(text);
if (text !== textHiragana && enableSoftKatakanaSearch) {
diff --git a/ext/bg/js/yomichan.js b/ext/bg/js/yomichan.js
index 62b6c7b1..2b713c02 100644
--- a/ext/bg/js/yomichan.js
+++ b/ext/bg/js/yomichan.js
@@ -246,7 +246,7 @@ class Yomichan {
}
promiseCallback(
- this.translator.findTerm(text, this.options.enableSoftKatakanaSearch, dictionaries),
+ this.translator.findTerm(text, dictionaries, this.options.enableSoftKatakanaSearch),
callback
);
}