replace anchor when schedule day clicked

This commit is contained in:
Technoboy10 2016-05-23 14:10:09 -04:00
parent 0b6b81e1f1
commit 6bddc8d2d3

View file

@ -22,6 +22,7 @@ var ConferenceSchedule = React.createClass({
this.handleScheduleChange(day);
},
handleScheduleChange: function (day) {
window.history.replaceState(history.state, '', "#" + day);
this.props.dispatch(scheduleActions.startGetSchedule(day));
},
renderChunkItems: function (timeSlot) {