@innovastudio/contentbuilder 1.1.22 → 1.1.23

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/contentbuilder",
3
- "version": "1.1.22",
3
+ "version": "1.1.23",
4
4
  "type": "module",
5
5
  "description": "",
6
6
  "main": "public/contentbuilder/contentbuilder.esm.js",
@@ -17118,7 +17118,7 @@ class Dropdown {
17118
17118
  let dropdown = document.querySelector('.is-selectbox-options[data-group="' + groupname + '"]');
17119
17119
  if (this.opts.dropdown) dropdown = this.opts.dropdown;
17120
17120
  dom$C.addEventListener(selectbox, 'click', () => {
17121
- if (dropdown.style.display === 'none') {
17121
+ if (dropdown.style.display === 'none' || dropdown.style.display === '') {
17122
17122
  let dropdowns = document.querySelectorAll('.is-selectbox-options');
17123
17123
  Array.prototype.forEach.call(dropdowns, elm => {
17124
17124
  elm.style.display = 'none';