This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit 6d41735
authored
Rollup merge of rust-lang#78921 - GuillaumeGomez:search-result-title, r=jyn514
Improve the page title switch handling between search and doc
The current behavior often "forgets" to update the page title when discarding/putting back the search results. This isn't optimal which is why I wrote this fix.
r? ``@jyn514``1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| 116 | + | |
116 | 117 | | |
117 | 118 | | |
118 | 119 | | |
| |||
169 | 170 | | |
170 | 171 | | |
171 | 172 | | |
| 173 | + | |
172 | 174 | | |
173 | 175 | | |
174 | 176 | | |
| |||
177 | 179 | | |
178 | 180 | | |
179 | 181 | | |
| 182 | + | |
180 | 183 | | |
181 | 184 | | |
182 | 185 | | |
| |||
374 | 377 | | |
375 | 378 | | |
376 | 379 | | |
377 | | - | |
378 | 380 | | |
379 | 381 | | |
380 | 382 | | |
| |||
1782 | 1784 | | |
1783 | 1785 | | |
1784 | 1786 | | |
1785 | | - | |
| 1787 | + | |
1786 | 1788 | | |
1787 | 1789 | | |
1788 | 1790 | | |
| |||
2736 | 2738 | | |
2737 | 2739 | | |
2738 | 2740 | | |
| 2741 | + | |
2739 | 2742 | | |
2740 | 2743 | | |
2741 | 2744 | | |
| |||
0 commit comments