Skip to content

Commit da55e24

Browse files
committed
Rollup merge of #26401 - jooert:fix26360, r=steveklabnik
Fixes #26360. r? @steveklabnik
2 parents c16780a + d234b0b commit da55e24

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/librustdoc/html/static/main.js

+3
Original file line numberDiff line numberDiff line change
@@ -571,6 +571,9 @@
571571
return;
572572
}
573573

574+
// Update document title to maintain a meaningful browser history
575+
$(document).prop("title", "Results for " + query.query + " - Rust");
576+
574577
// Because searching is incremental by character, only the most
575578
// recent search query is added to the browser history.
576579
if (browserSupportsHistoryApi()) {

0 commit comments

Comments
 (0)