Merge pull request #510 from technoboy10/gh507-scheduleanchor

Fix gh-507: Consistently change URI
This commit is contained in:
Connor Hudson 2016-05-26 16:59:44 -04:00
commit a4f15f4ec8

View file

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