Skip to content

Commit 062c27d

Browse files
authored
Fix typo (cotes2020#159)
1 parent 0fa3340 commit 062c27d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

_includes/mode-toggle.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474

7575
get isDarkMode() { return this.mode == ModeToggle.DARK_MODE; }
7676

77-
get isLightkMode() { return this.mode == ModeToggle.LIGHT_MODE; }
77+
get isLightMode() { return this.mode == ModeToggle.LIGHT_MODE; }
7878

7979
get hasMode() { return this.mode != null; }
8080

@@ -83,7 +83,7 @@
8383
flipMode() {
8484
if (this.hasMode) {
8585
if (this.isSysDarkPrefer) {
86-
if (this.isLightkMode) {
86+
if (this.isLightMode) {
8787
this.clearMode();
8888
} else {
8989
this.setLight();
@@ -115,4 +115,4 @@
115115
toggle.flipMode();
116116
});
117117

118-
</script>
118+
</script>

0 commit comments

Comments
 (0)