diff --git a/app/views/shared/components/_cookie_warning.html.erb b/app/views/shared/components/_cookie_warning.html.erb index 1546e84..8dfdcdd 100644 --- a/app/views/shared/components/_cookie_warning.html.erb +++ b/app/views/shared/components/_cookie_warning.html.erb @@ -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() + ";" - %>