Skip to content

Commit 09e7bb7

Browse files
authored
Remove mark from URL on escape. (#1427)
1 parent 33d3d9c commit 09e7bb7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/theme/searcher/searcher.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,7 @@ window.search = window.search || {};
427427
delete url.params[URL_MARK_PARAM];
428428
url.hash = "";
429429
} else {
430+
delete url.params[URL_MARK_PARAM];
430431
delete url.params[URL_SEARCH_PARAM];
431432
}
432433
// A new search will also add a new history item, so the user can go back

0 commit comments

Comments
 (0)