Skip to content

Commit

Permalink
Merge pull request #186 from moiz-deriv/moiz/eu-popup-refactor
Browse files Browse the repository at this point in the history
Moiz/eu popup refactor
  • Loading branch information
moiz-deriv authored Oct 22, 2024
2 parents a144c8e + 54cae3a commit 33f3989
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/js/footer/euPopUp/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ const clientInformation = getCookieByKey(document.cookie, "client_information");
const isLoggedIn = !!clientInformation;
const acceptButton = document.getElementById("accept-cookie");
const declineButton = document.getElementById("dont-accept-cookie");
const popupElement = document.querySelector(".cookies_background-wrapper");

document.addEventListener("DOMContentLoaded", () => {
if (hasDataLayer) {
Expand Down

0 comments on commit 33f3989

Please sign in to comment.