fix query parser

This commit is contained in:
siikamiika 2019-12-05 22:19:40 +02:00
parent e5be42d3de
commit 1bdef2e7c3

View File

@ -62,7 +62,7 @@ class QueryParser {
const scanningOptions = this.search.options.scanning; const scanningOptions = this.search.options.scanning;
const scanningModifier = scanningOptions.modifier; const scanningModifier = scanningOptions.modifier;
if (!( if (!(
Frontend.isScanningModifierPressed(scanningModifier, e) || TextScanner.isScanningModifierPressed(scanningModifier, e) ||
(scanningOptions.middleMouse && DOM.isMouseButtonDown(e, 'auxiliary')) (scanningOptions.middleMouse && DOM.isMouseButtonDown(e, 'auxiliary'))
)) { )) {
return; return;