We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0fa3340 commit 062c27dCopy full SHA for 062c27d
1 file changed
_includes/mode-toggle.html
@@ -74,7 +74,7 @@
74
75
get isDarkMode() { return this.mode == ModeToggle.DARK_MODE; }
76
77
- get isLightkMode() { return this.mode == ModeToggle.LIGHT_MODE; }
+ get isLightMode() { return this.mode == ModeToggle.LIGHT_MODE; }
78
79
get hasMode() { return this.mode != null; }
80
@@ -83,7 +83,7 @@
83
flipMode() {
84
if (this.hasMode) {
85
if (this.isSysDarkPrefer) {
86
- if (this.isLightkMode) {
+ if (this.isLightMode) {
87
this.clearMode();
88
} else {
89
this.setLight();
@@ -115,4 +115,4 @@
115
toggle.flipMode();
116
});
117
118
-</script>
+</script>
0 commit comments