summaryrefslogtreecommitdiff
path: root/ext/bg/js/search.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bg/js/search.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 2d130522..8d2e7bf2 100644
--- a/ext/bg/js/search.js
+++ b/ext/bg/js/search.js
@@ -57,6 +57,7 @@ class DisplaySearch extends Display {
const query = DisplaySearch.getSearchQueryFromLocation(window.location.href);
if (query !== null) {
this.query.value = window.wanakana.toKana(query);
+ window.history.replaceState({query}, '');
this.onSearchQueryUpdated(query, false);
}