@innovastudio/contentbuilder 1.5.40 → 1.5.42
Sign up to get free protection for your applications and to get access to all the features.
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();
|