Resolves #745
This commit is contained in:
@ -39,6 +39,8 @@
|
||||
}, 40);
|
||||
};
|
||||
function loader() {
|
||||
if (window.location.href.split('#').length > 1)
|
||||
setTimeout(() => document.getElementById(window.location.href.split('#')[1]).scrollIntoView(), 0);
|
||||
registerClickListener();
|
||||
if(window.innerWidth >= '768')
|
||||
document.querySelector('nav').scrollTop = Array.from(document.querySelectorAll('h4')).filter(v => v.innerHTML === 'Function')[0].offsetTop;
|
||||
|
||||
Reference in New Issue
Block a user