Skip to content

Commit 6f3e709

Browse files
ehussnotriddle
authored andcommitted
Remove mark from URL on escape. (rust-lang#1427)
1 parent 07b7965 commit 6f3e709

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)