mirror of
https://github.com/cotes2020/jekyll-theme-chirpy.git
synced 2025-06-08 08:37:53 +00:00
Fix typo (#159)
This commit is contained in:
parent
2bd99ffd33
commit
bf8996fb8b
@ -74,7 +74,7 @@
|
||||
|
||||
get isDarkMode() { return this.mode == ModeToggle.DARK_MODE; }
|
||||
|
||||
get isLightkMode() { return this.mode == ModeToggle.LIGHT_MODE; }
|
||||
get isLightMode() { return this.mode == ModeToggle.LIGHT_MODE; }
|
||||
|
||||
get hasMode() { return this.mode != null; }
|
||||
|
||||
@ -83,7 +83,7 @@
|
||||
flipMode() {
|
||||
if (this.hasMode) {
|
||||
if (this.isSysDarkPrefer) {
|
||||
if (this.isLightkMode) {
|
||||
if (this.isLightMode) {
|
||||
this.clearMode();
|
||||
} else {
|
||||
this.setLight();
|
||||
|
Loading…
x
Reference in New Issue
Block a user