Skip to content

Commit

Permalink
change condition
Browse files Browse the repository at this point in the history
  • Loading branch information
tenax66 committed Jan 2, 2025
1 parent 7a9bc1d commit d015984
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/color-modes.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

const getPreferredTheme = () => {
const storedTheme = getStoredTheme();
if (storedTheme) {
if (storedTheme && storedTheme !== "auto") {
return storedTheme;
}

Expand Down

0 comments on commit d015984

Please sign in to comment.