Commit b9142a04 authored by Bauke's avatar Bauke Committed by Deimos

Add domain parameter to theme cookie

parent bcd7383e
......@@ -14,7 +14,8 @@ $.onmount('[data-js-theme-selector]', function() {
// persist the new theme for the user in their cookie
document.cookie = 'theme=' + new_theme + ';' +
'path=/;max-age=315360000;secure;domain=' +
// remove any theme classes currently on the body
$body = $('body').first();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment