Skip to content

Commit

Permalink
Merge pull request #1899 from phazei/patch-2
Browse files Browse the repository at this point in the history
Add identifying class to dates from prev/next month on calendar
  • Loading branch information
dangrossman committed Apr 11, 2019
2 parents 2fff704 + d13ba21 commit e62f029
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daterangepicker.js
Expand Up @@ -793,7 +793,7 @@

//grey out the dates in other months displayed at beginning and end of this calendar
if (calendar[row][col].month() != calendar[1][1].month())
classes.push('off');
classes.push('off', 'ends');

//don't allow selection of dates before the minimum date
if (this.minDate && calendar[row][col].isBefore(this.minDate, 'day'))
Expand Down

0 comments on commit e62f029

Please sign in to comment.