@syncfusion/ej2-schedule 23.1.39 → 23.1.40

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.
@@ -15327,7 +15327,7 @@ var WorkCellInteraction = /** @__PURE__ @class */ (function () {
15327
15327
  }
15328
15328
  else {
15329
15329
  var date = this.parent.getDateFromElement(target);
15330
- if (!isNullOrUndefined(date) && !this.parent.isAdaptive && this.parent.isMinMaxDate(date)) {
15330
+ if (!isNullOrUndefined(date) && this.parent.isMinMaxDate(date)) {
15331
15331
  this.parent.setProperties({ selectedDate: date }, true);
15332
15332
  this.parent.changeView(this.parent.getNavigateView(), e);
15333
15333
  }
@@ -21765,7 +21765,7 @@ var DragAndDrop = /** @__PURE__ @class */ (function (_super) {
21765
21765
  if (this.parent.quickPopup) {
21766
21766
  this.parent.quickPopup.quickPopupHide(true);
21767
21767
  }
21768
- if ((!isNullOrUndefined(e.target)) && e.target.classList.contains(DISABLE_DATES)) {
21768
+ if ((!isNullOrUndefined(e.target)) && e.target.classList && e.target.classList.contains(DISABLE_DATES)) {
21769
21769
  return;
21770
21770
  }
21771
21771
  var eventObj = extend({}, this.actionObj.event, null, true);
@@ -21856,7 +21856,7 @@ var DragAndDrop = /** @__PURE__ @class */ (function (_super) {
21856
21856
  if (this.isAllowDrop(e)) {
21857
21857
  return;
21858
21858
  }
21859
- var target = ((!e.target.classList.contains('e-work-cells') && this.parent.cellTemplate) ?
21859
+ var target = (e.target.classList && (!e.target.classList.contains('e-work-cells') && this.parent.cellTemplate) ?
21860
21860
  closest(e.target, '.e-work-cells') : e.target);
21861
21861
  var dragArgs = {
21862
21862
  cancel: false, data: this.getChangedData(this.updatedData), selectedData: this.updatedData,