mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-11-06 11:01:00 +08:00
fixed custom theme state not saving. closes #547
This commit is contained in:
parent
3ebf98c14e
commit
76e65c4ee0
1 changed files with 2 additions and 2 deletions
|
|
@ -826,7 +826,7 @@ $(".pageSettings .section.themes .tabs .button").click((e) => {
|
|||
$target.addClass("active");
|
||||
setCustomThemeInputs();
|
||||
if ($target.attr("tab") == "preset") {
|
||||
setCustomTheme(false, true);
|
||||
setCustomTheme(false);
|
||||
applyCustomThemeColors();
|
||||
swapElements(
|
||||
$('.pageSettings .section.themes .tabContainer [tabContent="custom"]'),
|
||||
|
|
@ -834,7 +834,7 @@ $(".pageSettings .section.themes .tabs .button").click((e) => {
|
|||
250
|
||||
);
|
||||
} else {
|
||||
setCustomTheme(true, true);
|
||||
setCustomTheme(true);
|
||||
applyCustomThemeColors();
|
||||
swapElements(
|
||||
$('.pageSettings .section.themes .tabContainer [tabContent="preset"]'),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue