Skip to content

Commit

Permalink
feat: submodule edit track
Browse files Browse the repository at this point in the history
  • Loading branch information
lhyUnited committed Mar 24, 2021
1 parent 36f85cf commit f90c7c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const html = document.querySelector('html');

function handleToggle () {
let mode = html.getAttribute('data-color-mode');
mode = mode === 'dark' ? 'light' : 'dark';
mode = mode === 'dark' ? 'light' : 'dark'
html.setAttribute('data-color-mode', mode);
}

Expand Down

0 comments on commit f90c7c3

Please sign in to comment.