@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.
package/dist/umd/index.js CHANGED
@@ -28599,7 +28599,7 @@
28599
28599
  setForwardTo(item.message.forward_to);
28600
28600
  if (!!item.message.forward_to) {
28601
28601
  setTimeout(function () {
28602
- props.document.location.href = item.message.forward_to;
28602
+ (props.document || window.document).location.href = item.message.forward_to;
28603
28603
  }, 200);
28604
28604
  }
28605
28605
  } else if (success == false) {
@@ -28628,7 +28628,7 @@
28628
28628
  setClosable(true);
28629
28629
  setForwardTo(data.forward_to);
28630
28630
  setTimeout(function () {
28631
- props.document.location.href = data.forward_to;
28631
+ (props.document || window.document).location.href = data.forward_to;
28632
28632
  }, 200);
28633
28633
  } else {
28634
28634
  setClosable(true);