0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-02-10 22:38:53 -05:00

[ci] yarn format

This commit is contained in:
natemoo-re 2021-07-20 00:37:38 +00:00 committed by GitHub Actions
parent 325e8cba2d
commit cd8b438c08

View file

@ -27,11 +27,11 @@ function onScroll() {
} }
const hide = () => { const hide = () => {
nav.classList.add('hidden') nav.classList.add('hidden');
document.documentElement.classList.add('scrolled'); document.documentElement.classList.add('scrolled');
document.documentElement.classList.remove('initial'); document.documentElement.classList.remove('initial');
}; };
const show = () => { const show = () => {
nav.classList.remove('hidden'); nav.classList.remove('hidden');
document.documentElement.classList.remove('scrolled'); document.documentElement.classList.remove('scrolled');
} };