aboutsummaryrefslogtreecommitdiff
path: root/ext/mixed/js
diff options
context:
space:
mode:
authorsiikamiika <siikamiika@users.noreply.github.com>2020-01-16 23:22:38 +0200
committersiikamiika <siikamiika@users.noreply.github.com>2020-01-16 23:22:38 +0200
commit8292be92d8958fc09dceb7c6bf252ac1c170ed1a (patch)
treeae2de7c8bf26a01cd6b30350cfd8e04622f13440 /ext/mixed/js
parent9b4ec5a094cddc65e2444f022b19465fccddda75 (diff)
use TextScanner in QueryParser
Diffstat (limited to 'ext/mixed/js')
-rw-r--r--ext/mixed/js/text-scanner.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/mixed/js/text-scanner.js b/ext/mixed/js/text-scanner.js
index a05dd2ee..e037109d 100644
--- a/ext/mixed/js/text-scanner.js
+++ b/ext/mixed/js/text-scanner.js
@@ -281,6 +281,7 @@ class TextScanner {
setOptions(options) {
this.options = options;
+ this.setEnabled(this.options.general.enable);
}
async searchAt(x, y, cause) {