File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
src/librustdoc/html/static/js Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -275,8 +275,7 @@ function preLoadCss(cssUrl) {
275275 document . title = searchState . titleBeforeSearch ;
276276 // We also remove the query parameter from the URL.
277277 if ( browserSupportsHistoryApi ( ) ) {
278- history . replaceState ( null , window . currentCrate + " - Rust" ,
279- getNakedUrl ( ) + window . location . hash ) ;
278+ history . replaceState ( null , "" , getNakedUrl ( ) + window . location . hash ) ;
280279 }
281280 } ,
282281 getQueryStringParams : ( ) => {
@@ -378,8 +377,7 @@ function preLoadCss(cssUrl) {
378377 searchState . clearInputTimeout ( ) ;
379378 switchDisplayedElement ( null ) ;
380379 if ( browserSupportsHistoryApi ( ) ) {
381- history . replaceState ( null , window . currentCrate + " - Rust" ,
382- getNakedUrl ( ) + window . location . hash ) ;
380+ history . replaceState ( null , "" , getNakedUrl ( ) + window . location . hash ) ;
383381 }
384382 ev . preventDefault ( ) ;
385383 searchState . defocus ( ) ;
You can’t perform that action at this time.
0 commit comments