We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e1e627 commit 0c932b7Copy full SHA for 0c932b7
src/librustdoc/html/static/js/main.js
@@ -531,13 +531,13 @@ function preLoadCss(cssUrl) {
531
link.href = path;
532
link.textContent = name;
533
const li = document.createElement("li");
534
- li.appendChild(link);
535
- ul.appendChild(li);
536
// Don't "optimize" this to just use `path`.
537
// We want the browser to normalize this into an absolute URL.
538
if (link.href === current_page) {
539
li.classList.add("current");
540
}
+ li.appendChild(link);
+ ul.appendChild(li);
541
542
sidebar.appendChild(h3);
543
sidebar.appendChild(ul);
0 commit comments