fixed error on changing theme

This commit is contained in:
Miodec 2021-03-26 01:53:55 +00:00
parent 69b2242c96
commit 083b37d0da

View file

@ -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();
}
});