From d2430783fd4dcd7958036aa5943ac02668ede99f Mon Sep 17 00:00:00 2001 From: siikamiika Date: Sun, 26 Jan 2020 00:46:23 +0200 Subject: fix scanning parser --- ext/bg/js/backend.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/bg/js') 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); -- cgit v1.2.3