diff options
| author | Jacob McDonnell <jacob@simplelittledream.com> | 2020-03-20 22:45:02 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-20 22:45:02 -0400 |
| commit | c70648d6aa2d23381406b00120e8f2bfa60e8045 (patch) | |
| tree | b2a2e521a255bdac345c5ef274a094cd59a68123 /JS | |
| parent | 6261a51ca1915b942f7fd9faa6d1a5b480cde755 (diff) | |
Update cookies.js
Diffstat (limited to 'JS')
| -rw-r--r-- | JS/cookies.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/JS/cookies.js b/JS/cookies.js index ca71e56..f0a9bba 100644 --- a/JS/cookies.js +++ b/JS/cookies.js @@ -22,7 +22,7 @@ function getCookie(cname) { function checkCookie() { var theme=getCookie("theme"); if(theme == ""){ - setCookie("theme","GreenAndWhite",365); + setCookie("theme","PurpleAndDark",365); window.location.reload(false); }else if(theme == "GreenAndWhite"){ document.getElementById("cssFile").href = "CSS/main.css"; @@ -33,4 +33,4 @@ function checkCookie() { }else if(theme == "PurpleAndDark"){ document.getElementById("cssFile").href = "CSS/PurpleAndDark.css"; } -}
\ No newline at end of file +} |
