1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-02 01:33:22 +00:00

Add commennt to event change

This commit is contained in:
Jeffrey Holland
2025-11-06 18:39:43 +01:00
parent 7d11f901aa
commit 6f714d6c0b

View File

@@ -552,6 +552,8 @@ export class AutofillInlineMenuList extends AutofillInlineMenuPageElement {
this.newItemButtonElement.setAttribute("aria-label", this.getNewItemAriaLabel(showLogin));
this.newItemButtonElement.prepend(buildSvgDomElement(plusIcon));
this.newItemButtonElement.addEventListener(
// Use mousedown instead of click for immediate response - necessary for some sites where
// the click event arrives too late.
EVENTS.MOUSEDOWN,
this.handleNewLoginVaultItemAction,
);