fixed error if 8008 is the active theme

should fix #3957
This commit is contained in:
Miodec 2023-01-28 19:50:35 +01:00
parent 4cc8ed5e91
commit 26a19a87b0

View file

@ -25,7 +25,7 @@ export function updateActiveButton(): void {
?.classList.remove("active");
document
.querySelector(
`.pageSettings .section.themes .theme[theme=${activeThemeName}]`
`.pageSettings .section.themes .theme[theme='${activeThemeName}']`
)
?.classList.add("active");
}