summaryrefslogtreecommitdiff
path: root/ext/mixed/js/display.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mixed/js/display.js')
-rw-r--r--ext/mixed/js/display.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/mixed/js/display.js b/ext/mixed/js/display.js
index 4c42a48d..92e27faa 100644
--- a/ext/mixed/js/display.js
+++ b/ext/mixed/js/display.js
@@ -510,9 +510,10 @@ class Display extends EventDispatcher {
_onQueryParserSearch({type, definitions, sentence, input: {cause}, textSource}) {
const query = textSource.text();
+ const history = (cause === 'click');
const details = {
focus: false,
- history: cause !== 'mouse',
+ history,
params: this._createSearchParams(type, query, false),
state: {
sentence,