Skip to content

Commit 69b092d

Browse files
committed
[fixed] accidental hash changes
1 parent 0351b71 commit 69b092d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/Month.jsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,8 @@ let MonthView = React.createClass({
317317
})
318318
},
319319

320-
_dateClick(date){
320+
_dateClick(date, e){
321+
e.preventDefault();
321322
this.clearSelection()
322323
notify(this.props.onNavigate, [navigate.DATE, date])
323324
},

src/TimeGrid.jsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,8 @@ let TimeGrid = React.createClass({
189189
)
190190
},
191191

192-
_headerClick(date){
192+
_headerClick(date, e){
193+
e.preventDefault()
193194
notify(this.props.onNavigate, [navigate.DATE, date])
194195
},
195196

0 commit comments

Comments
 (0)