@innovastudio/contentbuilder 1.5.40 → 1.5.41
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/package.json
CHANGED
|
@@ -90891,6 +90891,8 @@ Add an image for each feature.`, 'Create a new content showcasing a photo galler
|
|
|
90891
90891
|
link.href = csslink;
|
|
90892
90892
|
link.setAttribute('data-cb-color', '');
|
|
90893
90893
|
link.addEventListener('load', () => {
|
|
90894
|
+
if (!document.body.contains(this.builderStuff)) return; // in case the instance is destroyed
|
|
90895
|
+
|
|
90894
90896
|
// Remove previous css
|
|
90895
90897
|
cssLink = document.querySelector('[data-cb-del]');
|
|
90896
90898
|
if (cssLink) cssLink.parentNode.removeChild(cssLink);
|
|
@@ -90962,6 +90964,8 @@ Add an image for each feature.`, 'Create a new content showcasing a photo galler
|
|
|
90962
90964
|
// if(this.opts.onThemeChange) this.opts.onThemeChange();
|
|
90963
90965
|
|
|
90964
90966
|
await this.delay(1000);
|
|
90967
|
+
if (!document.body.contains(this.builderStuff)) return; // in case the instance is destroyed
|
|
90968
|
+
|
|
90965
90969
|
// setTimeout(()=>{
|
|
90966
90970
|
util.getUIStyles();
|
|
90967
90971
|
this.setUIColorRefresh();
|