make the style cookie apply to the whole site
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
This commit is contained in:
parent
f3eed9d4f2
commit
afc85faa2f
@ -36,7 +36,8 @@ function applyStyle(styleName) {
|
||||
}
|
||||
|
||||
function setStyle(styleName) {
|
||||
document.cookie = "user-style=" + encodeURIComponent(styleName) + "; max-age=31536000";
|
||||
document.cookie = "user-style=" + encodeURIComponent(styleName) +
|
||||
"; max-age=31536000;domain={{ config.DOMAIN_NAME }};path=/";
|
||||
applyStyle(styleName);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user