Format fixes for js with biome.
This commit is contained in:
parent
089a0de6e0
commit
2f6becec53
1 changed files with 28 additions and 36 deletions
|
|
@ -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 @@
|
|||
}
|
||||
});
|
||||
});
|
||||
|
||||
})();
|
||||
|
|
|
|||
Loading…
Reference in a new issue