Skip to content

Commit

Permalink
Rollup merge of #83094 - GuillaumeGomez:crates-js-location, r=Nemo157
Browse files Browse the repository at this point in the history
crates.js should use root_path and not static_root_path

r? ``@Nemo157``
  • Loading branch information
Dylan-DPC authored Mar 13, 2021
2 parents 56b25c0 + 48a3bcd commit 2ca9afc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustdoc/html/layout.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ crate fn render<T: Print, S: Print>(
{style_files}\
<script id=\"default-settings\"{default_settings}></script>\
<script src=\"{static_root_path}storage{suffix}.js\"></script>\
<script src=\"{static_root_path}crates{suffix}.js\"></script>\
<script src=\"{root_path}crates{suffix}.js\"></script>\
<noscript><link rel=\"stylesheet\" href=\"{static_root_path}noscript{suffix}.css\"></noscript>\
{css_extension}\
{favicon}\
Expand Down

0 comments on commit 2ca9afc

Please sign in to comment.