This commit is contained in:
Alex Yatskov 2016-11-13 21:53:56 -08:00
parent 8ad217970f
commit 72ed8be877
2 changed files with 2 additions and 2 deletions

View File

@ -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) {

View File

@ -246,7 +246,7 @@ class Yomichan {
}
promiseCallback(
this.translator.findTerm(text, this.options.enableSoftKatakanaSearch, dictionaries),
this.translator.findTerm(text, dictionaries, this.options.enableSoftKatakanaSearch),
callback
);
}