diff --git a/frontend/src/ts/commandline/lists.ts b/frontend/src/ts/commandline/lists.ts index bd4d29314..1dbe01c36 100644 --- a/frontend/src/ts/commandline/lists.ts +++ b/frontend/src/ts/commandline/lists.ts @@ -332,6 +332,29 @@ export const commands: CommandsSubgroup = { ], }, }, + { + id: "fixSkillIssue", + display: "Fix skill issue", + icon: "fa-wrench", + visible: false, + exec: async (): Promise => { + // window.open("https://www.youtube.com/watch?v=dQw4w9WgXcQ"); + (document.querySelector("body") as HTMLElement).innerHTML = ` +
+

Fixing skill issue...

+ +
+ `; + setTimeout(() => { + document + .querySelector(".centerbox") + ?.insertAdjacentHTML( + "beforeend", + `

If your skill issue is not fixed yet, please wait a bit longer...

` + ); + }, 5000); + }, + }, { id: "joinDiscord", display: "Join the Discord server", diff --git a/frontend/src/ts/modals/share-custom-theme.ts b/frontend/src/ts/modals/share-custom-theme.ts index f05129eab..657cc4969 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 74b74103e..3cc424b10 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 ); }