Skip to content

Commit

Permalink
u
Browse files Browse the repository at this point in the history
  • Loading branch information
sdorpl committed May 28, 2020
1 parent a0ca0d3 commit 92df765
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,12 @@ const exCalc = {

if (!exCalc.theme) {
Cookies.set('theme', 'light', { expires: 999999 });
lightTheme();
}

if (exCalc.theme == "dark") {
Cookies.set('theme', 'dark', { expires: 999999 });
darkTheme();
}

exCalc.darkTheme.addEventListener('click', function() {
Expand Down

0 comments on commit 92df765

Please sign in to comment.