Skip to content

Commit

Permalink
Update cookie-banner.js
Browse files Browse the repository at this point in the history
  • Loading branch information
nsollecito committed Oct 2, 2023
1 parent 66f5b62 commit 714a3df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions website/assets/js/cookie-banner.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ window.addEventListener('load', function () {
const banner = document.getElementById('consent-banner');
const prefsElement = document.getElementById('teconsent');
const cookieLink = document.querySelector('footer a[href*="/cookies"]');
prefsElement.className = cookieLink.className;

if (banner) {
// listen for click and remove banner to avoid interfering with
Expand Down

0 comments on commit 714a3df

Please sign in to comment.