1
0
mirror of https://github.com/Pomax/BezierInfo-2.git synced 2025-08-16 21:54:06 +02:00

hashresolve

This commit is contained in:
Pomax
2016-09-14 15:03:45 -07:00
parent 4eaceef20f
commit 1ca0b4d064
2 changed files with 9 additions and 3 deletions

View File

@@ -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;
}
}
});