summaryrefslogtreecommitdiff
path: root/ext/bg/js
diff options
context:
space:
mode:
authorsiikamiika <siikamiika@users.noreply.github.com>2019-11-30 04:59:36 +0200
committersiikamiika <siikamiika@users.noreply.github.com>2019-11-30 04:59:36 +0200
commitbe23ad7213477500534a2546ca6ef139b23f0af9 (patch)
tree35ba66d172ac15b54f491b8e68c4f99ce898b13b /ext/bg/js
parentff9510356e61f9548c5c773ac0f9d85f153ad714 (diff)
remove dead code
Diffstat (limited to 'ext/bg/js')
-rw-r--r--ext/bg/js/search.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/bg/js/search.js b/ext/bg/js/search.js
index a5b5fb25..a98d7a9a 100644
--- a/ext/bg/js/search.js
+++ b/ext/bg/js/search.js
@@ -221,8 +221,7 @@ class DisplaySearch extends Display {
this.setContentTerms(definitions, {
focus: false,
sentence: {text: query, offset: 0},
- url: window.location.href,
- clearHistoryOnce: true
+ url: window.location.href
});
} else {
this.container.textContent = '';