Fix content script suggested name input target

This commit is contained in:
Leendert de Borst
2026-06-18 09:49:35 +02:00
parent 614236a29b
commit 9dcdca4966

View File

@@ -2503,9 +2503,9 @@ export async function createAliasCreationPopup(suggestedNames: string[], rootCon
if (target.classList.contains('av-suggested-name')) {
const name = target.dataset.name;
if (name) {
// Update input with clicked name
// Update input with clicked name. Only fill the service name (title);
// the username must not be derived from the title.
inputServiceName.value = name;
customUsername.value = name;
// Update the suggested names section
const suggestedNamesContainer = target.closest('.av-suggested-names') as HTMLElement;