Format fixes for js with biome.

This commit is contained in:
Fredrik Jonsson 2024-12-20 15:25:18 +01:00
commit 2f6becec53

View file

@ -17,8 +17,7 @@
button.addEventListener('click', function () {
if (button.getAttribute('data-consent') === 'true') {
localStorage.setItem('cookieconsent', 'accept');
}
else {
} else {
localStorage.setItem('cookieconsent', 'decline');
}
cookiebanner.classList.remove('js-cookieconsent-open');
@ -37,5 +36,4 @@
}
});
});
})();