mirror of
https://github.com/Pomax/BezierInfo-2.git
synced 2025-08-17 22:11:38 +02:00
hashresolve
This commit is contained in:
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>
|
<a href={'#' + this.props.name}>{this.props.title}</a>
|
||||||
</h2>
|
</h2>
|
||||||
);
|
);
|
||||||
|
},
|
||||||
|
componentDidMount() {
|
||||||
|
var h = window.location.hash;
|
||||||
|
if (h) {
|
||||||
|
window.location = window.location.hash;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user