@social-mail/social-mail-client 1.2.76 → 1.2.78

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.
@@ -8884,7 +8884,8 @@ System.register(["tslib", "../../core/AtomBinder", "../../core/AtomComponent", "
8884
8884
  const originalTarget = e.target;
8885
8885
  let start = originalTarget;
8886
8886
  let clickEvent;
8887
- while (start) {
8887
+ const end = document.body;
8888
+ while (start && start !== end) {
8888
8889
  clickEvent || (clickEvent = start.getAttribute("data-click-event"));
8889
8890
  if (start.tagName === "A") {
8890
8891
  if (!clickEvent) {