Skip to content

Commit b5ae079

Browse files
author
MoonTech
committed
Update website content
1 parent d0bdb55 commit b5ae079

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Site1.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ function toggleDarkMode() {
1414
}
1515

1616
if (body.classList.contains("body-dm")) {
17-
if (DMID) DMID.src = "Light.png";
17+
if (DMID) DMID.src = "Dark.png";
1818
} else {
19-
if (DMID) DMID.src = "Dark.png";
19+
if (DMID) DMID.src = "Light.png";
2020
}
2121
}
2222

@@ -37,8 +37,8 @@ function toggleDarkModeGS() {
3737
});
3838

3939
if (bodyGS.classList.contains("BodyGS-dm")) {
40-
DMIDGS.src = "Light.png";
40+
DMIDGS.src = "Dark.png";
4141
} else {
42-
DMIDGS.src = "Dark.png";
42+
DMIDGS.src = "Light.png";
4343
}
4444
}

0 commit comments

Comments
 (0)