No need to call getPageId a second time
This commit is contained in:
parent
c86039b333
commit
d5141e6829
1 changed files with 1 additions and 1 deletions
|
@ -2686,7 +2686,7 @@ function defocusSearchBar() {
|
|||
hideSidebar();
|
||||
};
|
||||
|
||||
autoCollapse(getPageId(), getCurrentValue("rustdoc-collapse") === "true");
|
||||
autoCollapse(pageId, getCurrentValue("rustdoc-collapse") === "true");
|
||||
|
||||
if (window.location.hash && window.location.hash.length > 0) {
|
||||
expandSection(window.location.hash.replace(/^#/, ""));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue