Fix dynamic crates listing in doc sidebar
This commit is contained in:
parent
b058dc0107
commit
cf18b1f22a
1 changed files with 1 additions and 1 deletions
|
|
@ -1447,7 +1447,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>';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue