Skip to content

Commit

Permalink
Mark clicked days on range
Browse files Browse the repository at this point in the history
  • Loading branch information
Rodrigo Waltenberg committed Dec 12, 2018
1 parent bee1803 commit ea0b9d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/FunctionalCalendar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -357,9 +357,9 @@
let startDate = new Date(this.startDate).getTime();
if (
(itemDate > startDate && itemDate < thisDate)
(itemDate >= startDate && itemDate <= thisDate)
||
(itemDate < startDate && itemDate > thisDate)
(itemDate <= startDate && itemDate >= thisDate)
) {
this.calendars[e].list[f].isMark = true;
}
Expand Down

0 comments on commit ea0b9d5

Please sign in to comment.