summaryrefslogtreecommitdiff
path: root/ext/mixed/js/display.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/mixed/js/display.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/mixed/js/display.js')
-rw-r--r--ext/mixed/js/display.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mixed/js/display.js b/ext/mixed/js/display.js
index 9824c25e..d061859e 100644
--- a/ext/mixed/js/display.js
+++ b/ext/mixed/js/display.js
@@ -507,7 +507,7 @@ class Display extends EventDispatcher {
}
}
- _onQueryParserSearch({type, definitions, sentence, input: {cause}, textSource}) {
+ _onQueryParserSearch({type, definitions, sentence, inputInfo: {cause}, textSource}) {
const query = textSource.text();
const history = (cause === 'click');
const details = {