@social-mail/social-mail-client 1.2.75 → 1.2.77

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.
@@ -8858,7 +8858,8 @@ System.register(["tslib", "../../core/AtomBinder", "../../core/AtomComponent", "
8858
8858
  const originalTarget = e.target;
8859
8859
  let start = originalTarget;
8860
8860
  let clickEvent;
8861
- while (start) {
8861
+ const end = document.body;
8862
+ while (start && start !== end) {
8862
8863
  clickEvent || (clickEvent = start.getAttribute("data-click-event"));
8863
8864
  if (start.tagName === "A") {
8864
8865
  if (!clickEvent) {
@@ -20829,6 +20830,9 @@ System.register(["tslib", "@web-atoms/core/dist/di/DITransient", "@web-atoms/cor
20829
20830
  updateNotify(items) {
20830
20831
  var _a, _b;
20831
20832
  return __awaiter(this, void 0, void 0, function* () {
20833
+ if (!(items === null || items === void 0 ? void 0 : items.length)) {
20834
+ return;
20835
+ }
20832
20836
  const {
20833
20837
  userID
20834
20838
  } = SocialMailApp.user;