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:
@@ -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,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user