Skip to content

Commit fa5f09a

Browse files
committed
fix(GmailTools): change summary button event listener from click to mousedown
1 parent 34d3f94 commit fa5f09a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

entrypoints/content/utils/page-injection/gmail-tools.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ function makeSummaryButton(threadElement: HTMLElement, buttonText: string, exter
9898
button.style.cssText = externalStyle || ''
9999
button.className = NATIVEMIND_GMAIL_SUMMARY_BUTTON_CLASS
100100

101-
button.addEventListener('click', async (ev) => {
101+
button.addEventListener('mousedown', async (ev) => {
102102
// Return early if button is disabled
103103
if (button.disabled) {
104104
return

0 commit comments

Comments
 (0)