@websy/websy-designs 1.4.32 → 1.4.33

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.
@@ -235,7 +235,7 @@ class ButtonGroup {
235
235
  if (el && this.options.items) {
236
236
  el.innerHTML = this.options.items.map((t, i) => {
237
237
  let activeClass = ''
238
- if (this.options.activeItem && this.options.activeItem !== -1) {
238
+ if (this.options.activeItem !== -1) {
239
239
  activeClass = i === this.options.activeItem ? 'active' : 'inactive'
240
240
  }
241
241
  return `
@@ -325,7 +325,7 @@ var ButtonGroup = /*#__PURE__*/function () {
325
325
  el.innerHTML = this.options.items.map(function (t, i) {
326
326
  var activeClass = '';
327
327
 
328
- if (_this.options.activeItem && _this.options.activeItem !== -1) {
328
+ if (_this.options.activeItem !== -1) {
329
329
  activeClass = i === _this.options.activeItem ? 'active' : 'inactive';
330
330
  }
331
331