From 6bddc8d2d36024be077f8eaa38e2648f43a059aa Mon Sep 17 00:00:00 2001 From: Technoboy10 Date: Mon, 23 May 2016 14:10:09 -0400 Subject: [PATCH 1/2] replace anchor when schedule day clicked --- src/views/conference/schedule/schedule.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/views/conference/schedule/schedule.jsx b/src/views/conference/schedule/schedule.jsx index 2bb167ae7..a88df6e5b 100644 --- a/src/views/conference/schedule/schedule.jsx +++ b/src/views/conference/schedule/schedule.jsx @@ -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) { From a3fda6be3034ff64abcadc4920dc718b42ea8458 Mon Sep 17 00:00:00 2001 From: Technoboy10 Date: Mon, 23 May 2016 14:28:34 -0400 Subject: [PATCH 2/2] use single quotes to appease travis --- src/views/conference/schedule/schedule.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/conference/schedule/schedule.jsx b/src/views/conference/schedule/schedule.jsx index a88df6e5b..1785ce626 100644 --- a/src/views/conference/schedule/schedule.jsx +++ b/src/views/conference/schedule/schedule.jsx @@ -22,7 +22,7 @@ var ConferenceSchedule = React.createClass({ this.handleScheduleChange(day); }, handleScheduleChange: function (day) { - window.history.replaceState(history.state, '', "#" + day); + window.history.replaceState(history.state, '', '#' + day); this.props.dispatch(scheduleActions.startGetSchedule(day)); }, renderChunkItems: function (timeSlot) {