mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-23 07:38:07 -05:00
Merge pull request #510 from technoboy10/gh507-scheduleanchor
Fix gh-507: Consistently change URI
This commit is contained in:
commit
a4f15f4ec8
1 changed files with 1 additions and 0 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue