aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-11-08 22:55:43 -0500
committerGitHub <noreply@github.com>2020-11-08 22:55:43 -0500
commiteb8069a4944c5060e9c3ff15814291c918c04068 (patch)
treeab81663eaa94b3258c21bd7aa953119a3b68abbd /ext/bg/js
parent3a23f081d1a11a233b855bdea1f6dcab9b593aca (diff)
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
Diffstat (limited to 'ext/bg/js')
-rw-r--r--ext/bg/js/query-parser.js4
1 files changed, 2 insertions, 2 deletions
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
});