Skip to content

Commit

Permalink
Task: Do not accept cookies when switching to imprint
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikdro committed Jan 21, 2021
1 parent 1d6eaea commit 0f0e832
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions Resources/Public/JavaScript/Main.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,14 +162,6 @@ function initializeCookieConsent() {
})
});

[].slice.call(document.querySelectorAll('.gdpr-cookieconsent-settings__content__links a')).forEach(function(link) {
link.addEventListener('click', function(event) {
acceptNecessaryCookies(kd_gdpr_cc_userid);
return true;
});
});


var cookie = decodeCookie();
var consents = cookie && cookie.consents ? cookie.consents : [];

Expand Down

0 comments on commit 0f0e832

Please sign in to comment.