diff --git a/ext/js/display/query-parser.js b/ext/js/display/query-parser.js index 344383fb26..cf487a3d35 100644 --- a/ext/js/display/query-parser.js +++ b/ext/js/display/query-parser.js @@ -133,6 +133,9 @@ export class QueryParser extends EventDispatcher { this._text = text; this._setPreview(text); + if (this._useInternalParser === false && this._useMecabParser === false) { + return; + } /** @type {?import('core').TokenObject} */ const token = {}; this._setTextToken = token;