@syncfusion/ej2-navigations 33.1.45 → 33.1.46

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.
@@ -9560,12 +9560,20 @@ var Tab = /** @__PURE__ @class */ (function (_super) {
9560
9560
  }
9561
9561
  if (properties[j] === 'cssClass') {
9562
9562
  if (!isNullOrUndefined(hdrItem)) {
9563
- hdrItem.classList.remove(oldVal);
9564
- hdrItem.classList.add(newVal);
9563
+ if (!isNullOrUndefined(oldVal) && oldVal !== '') {
9564
+ hdrItem.classList.remove(oldVal);
9565
+ }
9566
+ if (!isNullOrUndefined(newVal) && newVal !== '') {
9567
+ hdrItem.classList.add(newVal);
9568
+ }
9565
9569
  }
9566
9570
  if (!isNullOrUndefined(cntItem)) {
9567
- cntItem.classList.remove(oldVal);
9568
- cntItem.classList.add(newVal);
9571
+ if (!isNullOrUndefined(oldVal) && oldVal !== '') {
9572
+ cntItem.classList.remove(oldVal);
9573
+ }
9574
+ if (!isNullOrUndefined(newVal) && newVal !== '') {
9575
+ cntItem.classList.add(newVal);
9576
+ }
9569
9577
  }
9570
9578
  }
9571
9579
  if (properties[j] === 'disabled') {