Skip to content

Commit

Permalink
fix remaining manually
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed Dec 16, 2022
1 parent 5bc8e82 commit ed69b61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/definitions/modules/calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@
cell.data(metadata.date, cellDate);
let adjacent = isDay && cellDate.getMonth() !== ((month + 12) % 12);
let disabled = (!settings.selectAdjacentDays && adjacent) || !module.helper.isDateInRange(cellDate, mode) || settings.isDisabled(cellDate, mode) || module.helper.isDisabled(cellDate, mode) || !module.helper.isEnabled(cellDate, mode);
var eventDate;
let eventDate = null;
if (disabled) {
let disabledDate = module.helper.findDayAsObject(cellDate, mode, settings.disabledDates);
if (disabledDate !== null && disabledDate[metadata.message]) {
Expand Down

0 comments on commit ed69b61

Please sign in to comment.