@bigbinary/neeto-site-blocks 1.17.0 → 1.17.1

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/index.js CHANGED
@@ -7166,7 +7166,8 @@ var Button = function Button(_ref) {
7166
7166
  tempDiv.innerHTML = popupCode;
7167
7167
  var nodes = Array.from(tempDiv.childNodes);
7168
7168
  if (isEmpty(nodes)) return;
7169
- nodes.forEach(function (node) {
7169
+ nodes.forEach(function () {
7170
+ var node = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
7170
7171
  if (node.tagName === "SCRIPT") {
7171
7172
  var script = document.createElement("script");
7172
7173
  if (node.src) {