diff --git a/static/js/global_js.js b/static/js/global_js.js index 4276d47..ce92a7e 100644 --- a/static/js/global_js.js +++ b/static/js/global_js.js @@ -152,8 +152,8 @@ function scroll_ev (event,el){ } function checkStateCookie () { - if (window.document.cookie.includes("allow_cookie=true")){ - document.querySelector(".cookie_block").classList.remove("show") + if (!window.document.cookie.includes("allow_cookie=true")){ + document.querySelector(".cookie_block").classList.add("show") } } diff --git a/templates/tb_base.html b/templates/tb_base.html index 56760a6..6fac227 100644 --- a/templates/tb_base.html +++ b/templates/tb_base.html @@ -59,7 +59,7 @@
-