更新 'app/views/shared/components/_cookie_warning.html.erb'
This commit is contained in:
parent
de8fb19e64
commit
12a0d34f75
@ -14,12 +14,6 @@
|
||||
%>
|
||||
|
||||
<% if cookies && cookies['cookie_consented'] != 'true' %>
|
||||
|
||||
<%
|
||||
var cookieDate = new Date();
|
||||
cookieDate.setFullYear(cookieDate.getFullYear() + 1); //1 year from now
|
||||
document.cookie = "cookie_consented=true; path=/; expires=" + cookieDate.toUTCString() + ";"
|
||||
%>
|
||||
<!--
|
||||
<div class="primary-lighten cookies-banner fixed-bottom text-center d-inline-block">
|
||||
<div class="cookies-banner-content py-3">
|
||||
|
Loading…
Reference in New Issue
Block a user