mirror of
https://github.com/Pomax/BezierInfo-2.git
synced 2025-08-16 21:54:06 +02:00
hashresolve
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user