From eb8069a4944c5060e9c3ff15814291c918c04068 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Sun, 8 Nov 2020 22:55:43 -0500 Subject: Options context updates (#1017) * Update event order * Update inputs * Add type and cause to input info * Update input info args * Simplify arguments * Update argument name * Change order --- ext/bg/js/query-parser.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/bg') diff --git a/ext/bg/js/query-parser.js b/ext/bg/js/query-parser.js index af1dd30b..f56c2ecc 100644 --- a/ext/bg/js/query-parser.js +++ b/ext/bg/js/query-parser.js @@ -78,7 +78,7 @@ class QueryParser extends EventDispatcher { // Private - _onSearched({type, definitions, sentence, input, textSource, optionsContext, error}) { + _onSearched({type, definitions, sentence, inputInfo, textSource, optionsContext, error}) { if (error !== null) { yomichan.logError(error); return; @@ -89,7 +89,7 @@ class QueryParser extends EventDispatcher { type, definitions, sentence, - input, + inputInfo, textSource, optionsContext }); -- cgit v1.2.3