@depay/widgets 12.4.2 → 12.4.3

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.
@@ -36210,7 +36210,7 @@
36210
36210
  setForwardTo(item.message.forward_to);
36211
36211
  if (!!item.message.forward_to) {
36212
36212
  setTimeout(function () {
36213
- props.document.location.href = item.message.forward_to;
36213
+ (props.document || window.document).location.href = item.message.forward_to;
36214
36214
  }, 200);
36215
36215
  }
36216
36216
  } else if (success == false) {
@@ -36239,7 +36239,7 @@
36239
36239
  setClosable(true);
36240
36240
  setForwardTo(data.forward_to);
36241
36241
  setTimeout(function () {
36242
- props.document.location.href = data.forward_to;
36242
+ (props.document || window.document).location.href = data.forward_to;
36243
36243
  }, 200);
36244
36244
  } else {
36245
36245
  setClosable(true);