Skip to content

Commit

Permalink
Updated blog content
Browse files Browse the repository at this point in the history
  • Loading branch information
Nov4ou committed Nov 25, 2024
1 parent ee14238 commit 83b4bdc
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions _includes/mode-toggle.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,19 @@
}

constructor() {
// if (this.hasMode) {
// if (this.isDarkMode) {
// if (!this.isSysDarkPrefer) {
// this.setDark();
// }
// } else {
// if (this.isSysDarkPrefer) {
// this.setLight();
// }
// }
// }
if (this.hasMode) {
if (this.isDarkMode) {
if (!this.isSysDarkPrefer) {
this.setDark();
}
} else {
if (this.isSysDarkPrefer) {
this.setLight();
}
}
}

this.setDark();
// this.setDark();

let self = this;

Expand Down

0 comments on commit 83b4bdc

Please sign in to comment.