From c9626ada87d95e21fc71971b070c7cb0cfe3e1d4 Mon Sep 17 00:00:00 2001 From: byseif21 Date: Sat, 24 Jan 2026 02:08:46 +0200 Subject: [PATCH 1/2] fix: warning for newQuoteLanguage selector (@byseif21) --- frontend/src/ts/modals/quote-submit.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/frontend/src/ts/modals/quote-submit.ts b/frontend/src/ts/modals/quote-submit.ts index d3d7822bd123..d30c5b8e1f63 100644 --- a/frontend/src/ts/modals/quote-submit.ts +++ b/frontend/src/ts/modals/quote-submit.ts @@ -90,9 +90,11 @@ export async function show(showOptions: ShowOptions): Promise { }); modalEl - .qsr(".newQuoteLanguage") + .qsr("select.newQuoteLanguage") .setValue(Strings.removeLanguageSize(Config.language)); - modalEl.qsr(".newQuoteLanguage").dispatch("change"); + modalEl + .qsr("select.newQuoteLanguage") + .dispatch("change"); modalEl.qsr("input").setValue(""); new CharacterCounter(modalEl.qsr(".newQuoteText"), 250); From 3e9a8072a466f6927fd772d34d9a0a52c9e0a1c3 Mon Sep 17 00:00:00 2001 From: byseif21 Date: Tue, 27 Jan 2026 13:47:18 +0200 Subject: [PATCH 2/2] fix --- frontend/src/ts/elements/settings/account-settings-notice.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/ts/elements/settings/account-settings-notice.ts b/frontend/src/ts/elements/settings/account-settings-notice.ts index 7b54c68708dc..52bc92a9743a 100644 --- a/frontend/src/ts/elements/settings/account-settings-notice.ts +++ b/frontend/src/ts/elements/settings/account-settings-notice.ts @@ -1,7 +1,7 @@ import { z } from "zod"; import { LocalStorageWithSchema } from "../../utils/local-storage-with-schema"; import { navigate } from "../../controllers/route-controller"; -import { qs, qsa } from "../../utils/dom"; +import { qsa } from "../../utils/dom"; const ls = new LocalStorageWithSchema({ key: "accountSettingsMessageDismissed", @@ -13,7 +13,7 @@ if (ls.get()) { qsa(".pageSettings .accountSettingsNotice")?.remove(); } -qs(".pageSettings .accountSettingsNotice .dismissAndGo")?.on("click", () => { +qsa(".pageSettings .accountSettingsNotice .dismissAndGo").on("click", () => { ls.set(true); void navigate("/account-settings"); qsa(".pageSettings .accountSettingsNotice")?.remove();