diff --git a/frontend/src/ts/modals/share-custom-theme.ts b/frontend/src/ts/modals/share-custom-theme.ts index f05129eab06b..657cc49692ea 100644 --- a/frontend/src/ts/modals/share-custom-theme.ts +++ b/frontend/src/ts/modals/share-custom-theme.ts @@ -30,9 +30,9 @@ async function generateUrl(): Promise { } = { c: ThemeController.colorVars.map( (color) => - $( - `.pageSettings .customTheme .tabContent.customTheme #${color}[type='color']` - ).attr("value") as string + $(`.pageSettings .tabContent.customTheme #${color}[type='color']`).attr( + "value" + ) as string ), }; diff --git a/frontend/src/ts/modals/simple-modals.ts b/frontend/src/ts/modals/simple-modals.ts index 74b74103e2f4..3cc424b10cc5 100644 --- a/frontend/src/ts/modals/simple-modals.ts +++ b/frontend/src/ts/modals/simple-modals.ts @@ -1133,7 +1133,7 @@ list.updateCustomTheme = new SimpleModal({ for (const color of ThemeController.colorVars) { newColors.push( $( - `.pageSettings .customTheme .tabContent.customTheme #${color}[type='color']` + `.pageSettings .tabContent.customTheme #${color}[type='color']` ).attr("value") as string ); }