diff options
author | siikamiika <siikamiika@users.noreply.github.com> | 2019-12-01 05:38:23 +0200 |
---|---|---|
committer | siikamiika <siikamiika@users.noreply.github.com> | 2019-12-01 05:38:23 +0200 |
commit | 5929018facf792c203e18d3ec690478ee44388e0 (patch) | |
tree | 1088513ffdba0bf56a3b9867de3a0495b1a965b4 /ext/bg/js/search.js | |
parent | be23ad7213477500534a2546ca6ef139b23f0af9 (diff) |
move Display context to a new class
Diffstat (limited to 'ext/bg/js/search.js')
-rw-r--r-- | ext/bg/js/search.js | 1 |
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 }); |