From 99f842be106503fe8b5eda2041d8dd2e2003b6d7 Mon Sep 17 00:00:00 2001 From: yulricsequeira Date: Sat, 3 Oct 2015 18:06:36 -0400 Subject: [PATCH] Fixed issue #1738 --- src/date-picker/calendar.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/date-picker/calendar.jsx b/src/date-picker/calendar.jsx index ba6c395f67cbe2..49d22fc1a1feab 100644 --- a/src/date-picker/calendar.jsx +++ b/src/date-picker/calendar.jsx @@ -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 }; },