using div instead of anchor

This commit is contained in:
Miodec 2023-01-16 12:21:31 +01:00
parent 4874aa7f17
commit 99e1b916d7
3 changed files with 7 additions and 3 deletions

View file

@ -601,6 +601,10 @@
a {
margin-top: 0.25rem;
}
.textButton {
padding: 0;
padding-top: 0.25em;
}
}
}
}

View file

@ -133,7 +133,7 @@ $(document).on("keypress", (e) => {
}
});
$("#cookiePopup .cookie.ads .text-button").on("click", () => {
$("#cookiePopup .cookie.ads .textButton").on("click", () => {
try {
//@ts-ignore
window.__tcfapi("displayConsentUi", 2, function () {

View file

@ -121,9 +121,9 @@
Our advertising partner may use cookies to deliver ads that are more
relevant to you.
</div>
<a class="text-button">
<div class="textButton">
Click to change your preferences on ad related cookies
</a>
</div>
</label>
</div>
<div class="button active acceptSelected">Accept selected</div>