Improve cookiebanner.

This commit is contained in:
Fredrik Jonsson 2025-03-29 13:26:39 +01:00
commit e058a3dd5b

View file

@ -556,7 +556,7 @@ It it recommended to add a link or button to allow users to change their choice.
```html
<button class="clearcookieconsent">Cookie settings</button>
<a src="" class="clearcookieconsent">Cookie settings</a>
<a href="#" class="clearcookieconsent">Cookie settings</a>
```
When a user clickes the button/link the localStorage item "cookieconsent" is cleared and the cookieconsent dialog is shown again.