From 76e65c4ee0597f22a55dd68978194594c14055d7 Mon Sep 17 00:00:00 2001 From: Jack Date: Tue, 10 Nov 2020 20:23:14 +0000 Subject: [PATCH] fixed custom theme state not saving. closes #547 --- src/js/settings.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/settings.js b/src/js/settings.js index 3a10ff84a..83b336e3a 100644 --- a/src/js/settings.js +++ b/src/js/settings.js @@ -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"]'),