@bigbinary/neeto-molecules 3.16.19 → 3.16.20
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/ProductEmbed.js
CHANGED
|
@@ -1392,8 +1392,10 @@ var EmbedRenderer = function EmbedRenderer(_ref) {
|
|
|
1392
1392
|
var script = document.createElement("script");
|
|
1393
1393
|
script.id = SCRIPT_ID;
|
|
1394
1394
|
script.src = embedScriptLink;
|
|
1395
|
+
script.onload = function () {
|
|
1396
|
+
return setIsScriptLoading(false);
|
|
1397
|
+
};
|
|
1395
1398
|
document.head.appendChild(script);
|
|
1396
|
-
setIsScriptLoading(false);
|
|
1397
1399
|
};
|
|
1398
1400
|
var updateCustomization = function updateCustomization(props) {
|
|
1399
1401
|
return setCustomizations(function (prevState) {
|