aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js
diff options
context:
space:
mode:
authorsiikamiika <siikamiika@users.noreply.github.com>2019-12-01 05:38:23 +0200
committersiikamiika <siikamiika@users.noreply.github.com>2019-12-01 05:38:23 +0200
commit5929018facf792c203e18d3ec690478ee44388e0 (patch)
tree1088513ffdba0bf56a3b9867de3a0495b1a965b4 /ext/bg/js
parentbe23ad7213477500534a2546ca6ef139b23f0af9 (diff)
move Display context to a new class
Diffstat (limited to 'ext/bg/js')
-rw-r--r--ext/bg/js/search.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/bg/js/search.js b/ext/bg/js/search.js
index a98d7a9a..00b7ca4b 100644
--- a/ext/bg/js/search.js
+++ b/ext/bg/js/search.js
@@ -220,6 +220,7 @@ class DisplaySearch extends Display {
const {definitions} = await apiTermsFind(query, details, this.optionsContext);
this.setContentTerms(definitions, {
focus: false,
+ disableHistory: true,
sentence: {text: query, offset: 0},
url: window.location.href
});