Skip to content

Commit

Permalink
Revert "Fix issue in linkedCalendars, where if the maxDate is this mo…
Browse files Browse the repository at this point in the history
…nth, the…"
  • Loading branch information
dangrossman committed Feb 22, 2016
1 parent faa8940 commit ff94e38
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions daterangepicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -551,11 +551,6 @@
this.rightCalendar.month = this.startDate.clone().date(2).add(1, 'month');
}
}

if (this.linkedCalendars && this.rightCalendar.month > this.maxDate.month()) {
this.rightCalendar.month = this.maxDate.clone().date(2);
this.leftCalendar.month = this.maxDate.clone().date(2).subtract(1, 'month');
}
},

updateCalendars: function() {
Expand Down

0 comments on commit ff94e38

Please sign in to comment.