Skip to content

Commit

Permalink
fix example "clickWeekNumber"
Browse files Browse the repository at this point in the history
  • Loading branch information
uvarov-frontend committed Dec 6, 2023
1 parent 0e26866 commit c4c10d7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ const options: Options = {
},
actions: {
clickWeekNumber(event, number, days, year, self) {
calendar.settings.selected.dates = days.map((day) => day.dataset.calendarDay);
calendar.update();
self.settings.selected.dates = days.map((day) => day.dataset.calendarDay);
self.update({ dates: true });
},
},
};
Expand Down

0 comments on commit c4c10d7

Please sign in to comment.