Skip to content

Commit

Permalink
Remove mark from URL on escape. (#1427)
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss authored Jan 5, 2021
1 parent 33d3d9c commit 09e7bb7
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 09e7bb7

Please sign in to comment.