@innovastudio/contentbox 1.6.147 → 1.6.148

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/contentbox",
3
3
  "type": "module",
4
- "version": "1.6.147",
4
+ "version": "1.6.148",
5
5
  "description": "",
6
6
  "main": "public/contentbox/contentbox.esm.js",
7
7
  "types": "index.d.ts",
@@ -59,7 +59,7 @@
59
59
  "ws": "^8.13.0"
60
60
  },
61
61
  "dependencies": {
62
- "@innovastudio/contentbuilder": "^1.5.142",
62
+ "@innovastudio/contentbuilder": "^1.5.143",
63
63
  "js-beautify": "^1.14.0",
64
64
  "sortablejs": "^1.15.2"
65
65
  }
@@ -105100,13 +105100,19 @@ class Lightbox {
105100
105100
  autoplayVideos: true,
105101
105101
  skin: 'light'
105102
105102
  };
105103
- if (builder.isContentBox) {
105104
- this.util.refreshLightbox(this.lightboxOptions);
105103
+
105104
+ /*
105105
+ if(builder.isContentBox) {
105106
+ this.util.refreshLightbox(this.lightboxOptions);
105105
105107
  } else {
105106
- const glightbox = new GlightboxInit(this.lightboxOptions); // css applied from contentbuilder.css
105107
- glightbox.init();
105108
- this.builder.glightbox = glightbox;
105108
+ const glightbox = new GlightboxInit(this.lightboxOptions); // css applied from contentbuilder.css
105109
+ glightbox.init();
105110
+ this.builder.glightbox = glightbox;
105109
105111
  }
105112
+ */
105113
+ const glightbox = new GlightboxInit(this.lightboxOptions); // css applied from contentbuilder.css
105114
+ glightbox.init();
105115
+ this.builder.glightbox = glightbox;
105110
105116
  }
105111
105117
  openImage(url) {
105112
105118
  this.openLightbox(url, this.lightboxOptions);