mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-11-11 18:03:30 +08:00
removed duplicate function calls
This commit is contained in:
parent
394ce7e850
commit
bd467020af
1 changed files with 0 additions and 2 deletions
|
@ -249,7 +249,6 @@ export async function refreshButtons(): Promise<void> {
|
|||
}
|
||||
themesEl.innerHTML = themesElHTML;
|
||||
}
|
||||
updateActiveButton();
|
||||
}
|
||||
|
||||
export function setCustomInputs(noThemeUpdate = false): void {
|
||||
|
@ -368,7 +367,6 @@ $(".pageSettings").on("click", ".section.themes .theme.button", (e) => {
|
|||
const theme = $(e.currentTarget).attr("theme");
|
||||
if (!$(e.target).hasClass("favButton") && theme !== undefined) {
|
||||
UpdateConfig.setTheme(theme);
|
||||
updateActiveButton();
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue