aboutsummaryrefslogtreecommitdiff
path: root/ext/bg
diff options
context:
space:
mode:
authorsiikamiika <siikamiika@users.noreply.github.com>2019-12-05 22:19:40 +0200
committersiikamiika <siikamiika@users.noreply.github.com>2019-12-05 22:19:40 +0200
commit1bdef2e7c3d9cd4480113ae7294d5896bccfb4d7 (patch)
treeba92ebcc73f486ce293fdcd9022465218b8ae7b8 /ext/bg
parente5be42d3de14be48c6ef4ef47d06ba130d16fcaf (diff)
fix query parser
Diffstat (limited to 'ext/bg')
-rw-r--r--ext/bg/js/search-query-parser.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/search-query-parser.js b/ext/bg/js/search-query-parser.js
index 8dc2e30a..1c583bf1 100644
--- a/ext/bg/js/search-query-parser.js
+++ b/ext/bg/js/search-query-parser.js
@@ -62,7 +62,7 @@ class QueryParser {
const scanningOptions = this.search.options.scanning;
const scanningModifier = scanningOptions.modifier;
if (!(
- Frontend.isScanningModifierPressed(scanningModifier, e) ||
+ TextScanner.isScanningModifierPressed(scanningModifier, e) ||
(scanningOptions.middleMouse && DOM.isMouseButtonDown(e, 'auxiliary'))
)) {
return;