Skip to content

Commit

Permalink
Remove mark from URL on escape. (rust-lang#1427)
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss authored and rubenmoor committed Aug 5, 2022
1 parent 5456313 commit 5d92395
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/theme/searcher/searcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,7 @@ window.search = window.search || {};
delete url.params[URL_MARK_PARAM];
url.hash = "";
} else {
delete url.params[URL_MARK_PARAM];
delete url.params[URL_SEARCH_PARAM];
}
// A new search will also add a new history item, so the user can go back
Expand Down

0 comments on commit 5d92395

Please sign in to comment.