mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-09-22 16:26:18 +08:00
setting instead of pushing. closes #3053
This commit is contained in:
parent
3644f9996e
commit
385f234828
|
@ -702,11 +702,11 @@ $(document).on("click", "#bottom .leftright .right .current-theme", (e) => {
|
|||
} else UpdateConfig.setCustomTheme(false);
|
||||
} else {
|
||||
if (Config.customTheme) CommandlineLists.updateCustomThemeListCommands();
|
||||
CommandlineLists.pushCurrent(
|
||||
CommandlineLists.setCurrent([
|
||||
Config.customTheme
|
||||
? CommandlineLists.customThemeListCommands
|
||||
: CommandlineLists.themeCommands
|
||||
);
|
||||
: CommandlineLists.themeCommands,
|
||||
]);
|
||||
show();
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue