diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2017-12-18 23:08:40 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-12-18 23:08:40 +0100 |
| commit | 25e5af8a27cfa77fe0fc5bc7f3aa2bc88c9ace6f (patch) | |
| tree | 88a25e069c827e26cf8247ead1a790a8e7297577 | |
| parent | c68c4b510c52f8fe1abbae96899c8586119db639 (diff) | |
| parent | cf18b1f22ae67b8029005f9fd15d7b19d485a767 (diff) | |
| download | rust-25e5af8a27cfa77fe0fc5bc7f3aa2bc88c9ace6f.tar.gz rust-25e5af8a27cfa77fe0fc5bc7f3aa2bc88c9ace6f.zip | |
Rollup merge of #46824 - GuillaumeGomez:doc-sidebar, r=QuietMisdreavus
Fix dynamic crates listing in doc sidebar Fixes #46687. r? @QuietMisdreavus
| -rw-r--r-- | src/librustdoc/html/static/main.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/static/main.js b/src/librustdoc/html/static/main.js index 1b9035367f7..e6cf27b2008 100644 --- a/src/librustdoc/html/static/main.js +++ b/src/librustdoc/html/static/main.js @@ -1446,7 +1446,7 @@ // Draw a convenient sidebar of known crates if we have a listing if (rootPath === '../') { - var sidebar = document.getElementsByClassName('sidebar')[0]; + var sidebar = document.getElementsByClassName('sidebar-elems')[0]; var div = document.createElement('div'); div.className = 'block crate'; div.innerHTML = '<h3>Crates</h3>'; |
