Skip to content
Snippets Groups Projects
Commit 23f1d8cb authored by Austin Anderson's avatar Austin Anderson
Browse files

Fix busted cookie warning

parent 0addbee3
No related branches found
No related tags found
No related merge requests found
...@@ -3,7 +3,7 @@ if (location.hostname !== "" && !Cookies.get("tf-cookies-accepted")) { ...@@ -3,7 +3,7 @@ if (location.hostname !== "" && !Cookies.get("tf-cookies-accepted")) {
$(".tf-cookie-warning").removeClass("d-none") $(".tf-cookie-warning").removeClass("d-none")
} }
$("#tf-accept-cookies").click(function() { $("#tf-accept-cookies").click(function() {
$(this).addClass("d-none") $(".tf-cookie-warning").addClass("d-none")
Cookies.set("tf-cookies-accepted", true) Cookies.set("tf-cookies-accepted", true)
}) })
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment