@innovastudio/contentbox 1.2.25 → 1.2.26

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@innovastudio/contentbox",
3
- "version": "1.2.25",
3
+ "version": "1.2.26",
4
4
  "type": "module",
5
5
  "description": "",
6
6
  "main": "public/contentbox/contentbox.esm.js",
@@ -46,7 +46,7 @@
46
46
  "webpack-dev-server": "^4.0.0"
47
47
  },
48
48
  "dependencies": {
49
- "@innovastudio/contentbuilder": "^1.1.22",
49
+ "@innovastudio/contentbuilder": "^1.1.23",
50
50
  "js-beautify": "^1.14.0"
51
51
  }
52
52
  }
@@ -27714,7 +27714,7 @@ class Dropdown {
27714
27714
  let dropdown = document.querySelector('.is-selectbox-options[data-group="' + groupname + '"]');
27715
27715
  if (this.opts.dropdown) dropdown = this.opts.dropdown;
27716
27716
  dom$C.addEventListener(selectbox, 'click', () => {
27717
- if (dropdown.style.display === 'none') {
27717
+ if (dropdown.style.display === 'none' || dropdown.style.display === '') {
27718
27718
  let dropdowns = document.querySelectorAll('.is-selectbox-options');
27719
27719
  Array.prototype.forEach.call(dropdowns, elm => {
27720
27720
  elm.style.display = 'none';