@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.
@@ -8097,7 +8097,8 @@ System.register(["tslib", "../../core/AtomBinder", "../../core/AtomComponent", "
8097
8097
  const originalTarget = e.target;
8098
8098
  let start = originalTarget;
8099
8099
  let clickEvent;
8100
- while (start) {
8100
+ const end = document.body;
8101
+ while (start && start !== end) {
8101
8102
  clickEvent || (clickEvent = start.getAttribute("data-click-event"));
8102
8103
  if (start.tagName === "A") {
8103
8104
  if (!clickEvent) {