diff --git a/core/module/config/view/index/index.css b/core/module/config/view/index/index.css index 2a9f05c1..ba9a02f7 100755 --- a/core/module/config/view/index/index.css +++ b/core/module/config/view/index/index.css @@ -22,5 +22,5 @@ } .activeButton { - filter : brightness(125%); + filter : brightness(150%); } \ No newline at end of file diff --git a/core/module/config/view/index/index.js.php b/core/module/config/view/index/index.js.php index 6f0146e2..97de6f3b 100644 --- a/core/module/config/view/index/index.js.php +++ b/core/module/config/view/index/index.js.php @@ -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) {