@bobfrankston/rmfmail 1.2.231 → 1.2.232

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2364,7 +2364,7 @@ async function showMessage(accountId, uid, folderId, specialUse, isRetry = false
2364
2364
  items.push({ label: "Reply", action: () => document.dispatchEvent(new CustomEvent("mailx-compose", { detail: { mode: "reply" } })) });
2365
2365
  items.push({ label: "Reply All", action: () => document.dispatchEvent(new CustomEvent("mailx-compose", { detail: { mode: "replyAll" } })) });
2366
2366
  items.push({ label: "Forward", action: () => document.dispatchEvent(new CustomEvent("mailx-compose", { detail: { mode: "forward" } })) });
2367
- showContextMenu(me.clientX, me.clientY, items);
2367
+ showContextMenu(me.clientX, me.clientY, items, { editTarget: me.target });
2368
2368
  });
2369
2369
  }
2370
2370
  headerEl.querySelector(".mv-date").textContent = new Date(msg.date).toLocaleString(void 0, { year: "numeric", month: "short", day: "numeric", hour: "2-digit", minute: "2-digit", hour12: false });
@@ -2897,7 +2897,7 @@ async function showMessage(accountId, uid, folderId, specialUse, isRetry = false
2897
2897
  } });
2898
2898
  }
2899
2899
  }
2900
- showContextMenu(e.clientX, e.clientY, items);
2900
+ showContextMenu(e.clientX, e.clientY, items, { editTarget: e.target });
2901
2901
  });
2902
2902
  attEl.appendChild(chip);
2903
2903
  }
@@ -6266,7 +6266,7 @@ async function renderTasks(prefetched) {
6266
6266
  await deleteTask(uuid);
6267
6267
  renderTasks();
6268
6268
  } }
6269
- ]);
6269
+ ], { editTarget: e.target });
6270
6270
  });
6271
6271
  });
6272
6272
  }