django-cookie-consent
django-cookie-consent copied to clipboard
Fix onAccept example in JS documentation
The Javascript integration documentation page includes this sample onAccept
implementation:
function onAccept(event, cookieGroups) { ... }
which won't work as intended, as cookieGroups
is actually passed as the first parameter to the function. This PR fixes the code sample.