Dark mode - cookie path should be all site

This commit is contained in:
dgtlmoon
2022-12-04 20:54:15 +01:00
parent d1d4045c49
commit 378d7b7362

View File

@@ -19,6 +19,6 @@ $(document).ready(function () {
};
const setCookieValue = (value) => {
document.cookie = `css_dark_mode=${value};max-age=31536000`
document.cookie = `css_dark_mode=${value};max-age=31536000;path=/`
}
});