Dark mode - cookie path should be all site

pull/1192/head
dgtlmoon 2 years ago
parent d1d4045c49
commit 378d7b7362

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

Loading…
Cancel
Save