mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-11 00:03:44 +08:00
fixed error on changing theme
This commit is contained in:
parent
69b2242c96
commit
083b37d0da
1 changed files with 1 additions and 1 deletions
|
@ -834,7 +834,7 @@ $(document).on("click", ".pageSettings .section.themes .theme.button", (e) => {
|
|||
let theme = $(e.currentTarget).attr("theme");
|
||||
if (!$(e.target).hasClass("favButton")) {
|
||||
UpdateConfig.setTheme(theme);
|
||||
UpdateConfig.setActiveThemeButton();
|
||||
setActiveThemeButton();
|
||||
refreshThemeButtons();
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue