add scroll to on load
This commit is contained in:
parent
1fa9bf1e10
commit
dd217e7a6a
2 changed files with 6 additions and 2 deletions
|
|
@ -39,6 +39,10 @@ document.addEventListener("DOMContentLoaded", () => {
|
|||
}
|
||||
}
|
||||
|
||||
window.window.scrollTo({
|
||||
top: 0,
|
||||
});
|
||||
|
||||
window.addEventListener("scroll", () => {
|
||||
toggleLogoState();
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue