diff --git a/src/Month.jsx b/src/Month.jsx index 9e33956..8050712 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 870e4af..159db82 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]) },