Skip to content

Commit b18a605

Browse files
authored
Update activity.js
1 parent 6c175b3 commit b18a605

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

js/activity.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -340,9 +340,9 @@ class Activity {
340340

341341
for (let i = 0; i < this.themes.length; i++) {
342342
if (this.themes[i] === activeTheme) {
343-
body.classList.add(this.themes[i]);
343+
document.body.classList.add(this.themes[i]);
344344
} else {
345-
body.classList.remove(this.themes[i]);
345+
document.body.classList.remove(this.themes[i]);
346346
}
347347
}
348348
} catch (e) {

0 commit comments

Comments
 (0)