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 16, 2015
1 parent 73f482f commit 99f842b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/date-picker/calendar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,8 @@ const Calendar = React.createClass({

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

Expand Down

0 comments on commit 99f842b

Please sign in to comment.