mirror of
https://github.com/Pomax/BezierInfo-2.git
synced 2025-02-24 09:33:19 +01:00
hashresolve
This commit is contained in:
parent
4eaceef20f
commit
1ca0b4d064
File diff suppressed because one or more lines are too long
@ -7,6 +7,12 @@ var SectionHeader = React.createClass({
|
||||
<a href={'#' + this.props.name}>{this.props.title}</a>
|
||||
</h2>
|
||||
);
|
||||
},
|
||||
componentDidMount() {
|
||||
var h = window.location.hash;
|
||||
if (h) {
|
||||
window.location = window.location.hash;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user