diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-06-19 17:41:09 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-06-19 17:41:09 +0530 |
| commit | da55e244a6829e94ef94c4e43243a3436b6a2dd4 (patch) | |
| tree | 14989aed2f99e9e0777d8ed72675d97fdfc76d36 | |
| parent | c16780a3ffe4796ca229a0641793e937c6e73c9f (diff) | |
| parent | d234b0bb5f3210ca255d1ad71eb13add272fd078 (diff) | |
| download | rust-da55e244a6829e94ef94c4e43243a3436b6a2dd4.tar.gz rust-da55e244a6829e94ef94c4e43243a3436b6a2dd4.zip | |
Rollup merge of #26401 - jooert:fix26360, r=steveklabnik
Fixes #26360. r? @steveklabnik
| -rw-r--r-- | src/librustdoc/html/static/main.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/librustdoc/html/static/main.js b/src/librustdoc/html/static/main.js index 7f8f40ff08a..fb8f511795e 100644 --- a/src/librustdoc/html/static/main.js +++ b/src/librustdoc/html/static/main.js @@ -571,6 +571,9 @@ return; } + // Update document title to maintain a meaningful browser history + $(document).prop("title", "Results for " + query.query + " - Rust"); + // Because searching is incremental by character, only the most // recent search query is added to the browser history. if (browserSupportsHistoryApi()) { |
