aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/search-query-parser.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bg/js/search-query-parser.js')
-rw-r--r--ext/bg/js/search-query-parser.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/bg/js/search-query-parser.js b/ext/bg/js/search-query-parser.js
index 3a93c7e7..f648fdd4 100644
--- a/ext/bg/js/search-query-parser.js
+++ b/ext/bg/js/search-query-parser.js
@@ -31,6 +31,10 @@ class QueryParser extends TextScanner {
this.queryParserGenerator = new QueryParserGenerator();
}
+ async prepare() {
+ await this.queryParserGenerator.prepare();
+ }
+
onError(error) {
logError(error, false);
}