beyonk-group / gdpr-cookie-consent-banner

A GDPR compliant cookie consent banner implementation
MIT License
248 stars 42 forks source link

Refactor buttons #68

Open silllli opened 3 months ago

silllli commented 3 months ago

Refactor buttons to make clear what they are doing. Rename Accept cookies button to Accept selected (since that’s what the called choose() function is doing) and add a new Accept all button which will actually accept all cookies. Rename Reject cookies to Reject all to be in line with the Accept all button.

Fixes #65