aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsiikamiika <siikamiika@users.noreply.github.com>2020-01-26 00:46:23 +0200
committersiikamiika <siikamiika@users.noreply.github.com>2020-01-26 00:46:23 +0200
commitd2430783fd4dcd7958036aa5943ac02668ede99f (patch)
tree420385909360eb38d33533bd38c81e4c1070aaa7
parent7a2dbb6f733a7c945ae02b801037796b81c8a820 (diff)
fix scanning parser
-rw-r--r--ext/bg/js/backend.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/bg/js/backend.js b/ext/bg/js/backend.js
index f9322959..eeab68a5 100644
--- a/ext/bg/js/backend.js
+++ b/ext/bg/js/backend.js
@@ -307,8 +307,8 @@ class Backend {
const [definitions, sourceLength] = await this.translator.findTermsInternal(
text.substring(0, options.scanning.length),
dictEnabledSet(options),
- options.scanning.alphanumeric,
- {}
+ {},
+ options
);
if (definitions.length > 0) {
dictTermsSort(definitions);