aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/api.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bg/js/api.js')
-rw-r--r--ext/bg/js/api.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/api.js b/ext/bg/js/api.js
index 9751d4a1..f379e65a 100644
--- a/ext/bg/js/api.js
+++ b/ext/bg/js/api.js
@@ -83,7 +83,7 @@ async function apiTermsFind(text, optionsContext) {
async function apiKanjiFind(text, optionsContext) {
const options = await apiOptionsGet(optionsContext);
- const definitions = await utilBackend().translator.findKanji(text, dictEnabledSet(options));
+ const definitions = await utilBackend().translator.findKanji(text, options);
return definitions.slice(0, options.general.maxResults);
}