aboutsummaryrefslogtreecommitdiff
path: root/static/js
diff options
context:
space:
mode:
Diffstat (limited to 'static/js')
-rw-r--r--static/js/themes.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/js/themes.js b/static/js/themes.js
index 3f1b906..1d89e60 100644
--- a/static/js/themes.js
+++ b/static/js/themes.js
@@ -1,5 +1,5 @@
function setCookie(key, value, age) {
- document.cookie = key + "=" + encodeURIComponent(value) + ";sameSite=strict;max-age=" + 60 * 60 * 24 * age + ";path=/";
+ document.cookie = key + "=" + encodeURIComponent(value) + ";sameSite=none;max-age=" + (60 * 60 * 24 * age) + ";path=/";
}
function getCookie(key) {