diff options
Diffstat (limited to 'ext')
-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 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); } |