@innovastudio/contentbuilder 1.5.142 → 1.5.143

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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@innovastudio/contentbuilder",
3
3
  "type": "module",
4
- "version": "1.5.142",
4
+ "version": "1.5.143",
5
5
  "description": "",
6
6
  "main": "public/contentbuilder/contentbuilder.esm.js",
7
7
  "types": "index.d.ts",
@@ -78581,13 +78581,19 @@ class Lightbox {
78581
78581
  autoplayVideos: true,
78582
78582
  skin: 'light'
78583
78583
  };
78584
- if (builder.isContentBox) {
78585
- this.util.refreshLightbox(this.lightboxOptions);
78584
+
78585
+ /*
78586
+ if(builder.isContentBox) {
78587
+ this.util.refreshLightbox(this.lightboxOptions);
78586
78588
  } else {
78587
- const glightbox = new GlightboxInit(this.lightboxOptions); // css applied from contentbuilder.css
78588
- glightbox.init();
78589
- this.builder.glightbox = glightbox;
78589
+ const glightbox = new GlightboxInit(this.lightboxOptions); // css applied from contentbuilder.css
78590
+ glightbox.init();
78591
+ this.builder.glightbox = glightbox;
78590
78592
  }
78593
+ */
78594
+ const glightbox = new GlightboxInit(this.lightboxOptions); // css applied from contentbuilder.css
78595
+ glightbox.init();
78596
+ this.builder.glightbox = glightbox;
78591
78597
  }
78592
78598
  openImage(url) {
78593
78599
  this.openLightbox(url, this.lightboxOptions);