From 3663a46a976605c5c1e4b632f312bb5ca2e27e76 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 907221b510ad78..ff296369ac0d83 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 }; },