mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-24 14:56:23 +08:00
using div instead of anchor
This commit is contained in:
parent
4874aa7f17
commit
99e1b916d7
3 changed files with 7 additions and 3 deletions
|
|
@ -601,6 +601,10 @@
|
|||
a {
|
||||
margin-top: 0.25rem;
|
||||
}
|
||||
.textButton {
|
||||
padding: 0;
|
||||
padding-top: 0.25em;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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 () {
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue