aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js
diff options
context:
space:
mode:
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 a2a04606..dc3cc581 100644
--- a/ext/bg/js/query-parser.js
+++ b/ext/bg/js/query-parser.js
@@ -79,7 +79,7 @@ class QueryParser extends EventDispatcher {
// Private
- _onSearched({type, definitions, sentence, cause, textSource, optionsContext, error}) {
+ _onSearched({type, definitions, sentence, input, textSource, optionsContext, error}) {
if (error !== null) {
yomichan.logError(error);
return;
@@ -90,7 +90,7 @@ class QueryParser extends EventDispatcher {
type,
definitions,
sentence,
- cause,
+ input,
textSource,
optionsContext
});