File tree 1 file changed +2
-4
lines changed
src/librustdoc/html/static/js
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -275,8 +275,7 @@ function preLoadCss(cssUrl) {
275
275
document . title = searchState . titleBeforeSearch ;
276
276
// We also remove the query parameter from the URL.
277
277
if ( browserSupportsHistoryApi ( ) ) {
278
- history . replaceState ( null , window . currentCrate + " - Rust" ,
279
- getNakedUrl ( ) + window . location . hash ) ;
278
+ history . replaceState ( null , "" , getNakedUrl ( ) + window . location . hash ) ;
280
279
}
281
280
} ,
282
281
getQueryStringParams : ( ) => {
@@ -378,8 +377,7 @@ function preLoadCss(cssUrl) {
378
377
searchState . clearInputTimeout ( ) ;
379
378
switchDisplayedElement ( null ) ;
380
379
if ( browserSupportsHistoryApi ( ) ) {
381
- history . replaceState ( null , window . currentCrate + " - Rust" ,
382
- getNakedUrl ( ) + window . location . hash ) ;
380
+ history . replaceState ( null , "" , getNakedUrl ( ) + window . location . hash ) ;
383
381
}
384
382
ev . preventDefault ( ) ;
385
383
searchState . defocus ( ) ;
You can’t perform that action at this time.
0 commit comments