diff --git a/src/Month.jsx b/src/Month.jsx index 9e3395675..8050712d8 100644 --- a/src/Month.jsx +++ b/src/Month.jsx @@ -317,7 +317,8 @@ let MonthView = React.createClass({ }) }, - _dateClick(date){ + _dateClick(date, e){ + e.preventDefault(); this.clearSelection() notify(this.props.onNavigate, [navigate.DATE, date]) }, diff --git a/src/TimeGrid.jsx b/src/TimeGrid.jsx index 870e4af70..159db82b6 100644 --- a/src/TimeGrid.jsx +++ b/src/TimeGrid.jsx @@ -189,7 +189,8 @@ let TimeGrid = React.createClass({ ) }, - _headerClick(date){ + _headerClick(date, e){ + e.preventDefault() notify(this.props.onNavigate, [navigate.DATE, date]) },