Skip to content

Commit

Permalink
[TASK] Adjust description
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikdro committed Apr 23, 2018
1 parent 0cc0def commit 9295d02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ KaufmannDigital:
CookieConsent:
type: 'opt-in' #Or 'opt-out' (depending on what you want to do)
```
Afterwards, you can listen to the `kd-cookieconsent` event in JavaScript and en-/disable cookies:
Afterwards, you can listen to the `kd-cookieconsent` event in JavaScript to en-/disable cookies:
```javascript
document.addEventListener("kd-cookieconsent", function (e) {
if (e.detail === 'enable-cookies') {
Expand Down

0 comments on commit 9295d02

Please sign in to comment.