From 451bcab01fd591ec54b63af0fc7084dc9f37928b Mon Sep 17 00:00:00 2001 From: Kuuuube <61125188+Kuuuube@users.noreply.github.com> Date: Tue, 18 Jun 2024 20:18:43 -0400 Subject: Add auto option to body theme (#1086) * Add auto option to body theme * Fix firefox bug where themes do not set correctly in settings due to getOptions failing --- ext/js/pages/info-main.js | 1 + 1 file changed, 1 insertion(+) (limited to 'ext/js/pages/info-main.js') diff --git a/ext/js/pages/info-main.js b/ext/js/pages/info-main.js index f431239f..079a8c3a 100644 --- a/ext/js/pages/info-main.js +++ b/ext/js/pages/info-main.js @@ -163,6 +163,7 @@ await Application.main(true, async (application) => { const primaryProfile = (profileCurrent >= 0 && profileCurrent < profiles.length) ? profiles[profileCurrent] : null; if (primaryProfile !== null) { themeController.theme = primaryProfile.options.general.popupTheme; + themeController.siteOverride = true; themeController.updateTheme(); } -- cgit v1.2.3