Skip to content

Commit

Permalink
Fixed issue mui#1738
Browse files Browse the repository at this point in the history
  • Loading branch information
yulric committed Oct 3, 2015
1 parent 3f478ce commit 5b9cfc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/date-picker/calendar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ const Calendar = React.createClass({

_getToolbarInteractions() {
return {
prevMonth: DateTime.monthDiff(this.state.selectedDate, this.props.minDate) > 0,
prevMonth: DateTime.monthDiff(this.state.displayDate, this.props.minDate) > 0,
nextMonth: DateTime.monthDiff(this.state.selectedDate, this.props.maxDate) < 0,
};
},
Expand Down

0 comments on commit 5b9cfc6

Please sign in to comment.