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 189f086 commit f52a6abCopy full SHA for f52a6ab
docs/content/fsdocs-theme.js
@@ -14,10 +14,10 @@ if (activeItem && mainMenu) {
14
15
function scrollToAndExpandSelectedMember() {
16
if (location.hash) {
17
- const header = document.querySelector(`a[href='${location.hash}']`);
18
- header.scrollIntoView({ behavior: 'instant'});
19
const details = document.querySelector(`tr > td.fsdocs-member-usage:has(a[href='${location.hash}']) ~ td.fsdocs-member-xmldoc > details`);
20
details?.setAttribute('open', 'true');
+ const header = document.querySelector(`a[href='${location.hash}']`);
+ header.scrollIntoView({ behavior: 'instant'});
21
}
22
23
0 commit comments