summaryrefslogtreecommitdiff
path: root/ext/bg/js/search-query-parser-generator.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bg/js/search-query-parser-generator.js')
-rw-r--r--ext/bg/js/search-query-parser-generator.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/bg/js/search-query-parser-generator.js b/ext/bg/js/search-query-parser-generator.js
index 67a1ccad..8d71890b 100644
--- a/ext/bg/js/search-query-parser-generator.js
+++ b/ext/bg/js/search-query-parser-generator.js
@@ -20,10 +20,9 @@
class QueryParserGenerator {
constructor() {
this._templateHandler = null;
- this._initialize();
}
- async _initialize() {
+ async prepare() {
const html = await apiGetQueryParserTemplatesHtml();
this._templateHandler = new TemplateHandler(html);
}