Fixes for vscode eslint extension.

This commit is contained in:
Bob Vandevliet 2024-06-12 16:41:06 +02:00
parent d46ad902c5
commit 561b32c6aa
4 changed files with 162 additions and 78 deletions

View file

@ -1,3 +1,4 @@
window.addEventListener('scroll', function() {
window.addEventListener('scroll', () =>
{
document.body.classList.toggle('is-scrolled', window.scrollY > 0);
});