cookie de config lax

This commit is contained in:
Fred Tempez 2021-12-01 18:27:40 +01:00
parent 59c0ec0735
commit 975d0c579d
2 changed files with 2 additions and 2 deletions

View File

@ -22,5 +22,5 @@
}
.activeButton {
filter : brightness(125%);
filter : brightness(150%);
}

View File

@ -208,7 +208,7 @@ function setCookie(name,value,days) {
date.setTime(date.getTime() + (days*24*60*60*1000));
expires = "; expires=" + date.toUTCString();
}
document.cookie = name + "=" + (value || "") + expires + "; path=/";
document.cookie = name + "=" + (value || "") + expires + "; path=/; samesite=lax";
}
function getCookie(name) {