aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bg/js')
-rw-r--r--ext/bg/js/search.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/bg/js/search.js b/ext/bg/js/search.js
index a98d7a9a..a5b5fb25 100644
--- a/ext/bg/js/search.js
+++ b/ext/bg/js/search.js
@@ -221,7 +221,8 @@ class DisplaySearch extends Display {
this.setContentTerms(definitions, {
focus: false,
sentence: {text: query, offset: 0},
- url: window.location.href
+ url: window.location.href,
+ clearHistoryOnce: true
});
} else {
this.container.textContent = '';