1
0
mirror of https://github.com/Pomax/BezierInfo-2.git synced 2025-08-27 02:05:34 +02:00
This commit is contained in:
Pomax
2016-01-05 23:13:27 -08:00
parent f5b75693e0
commit f79fb75769
2 changed files with 8 additions and 2 deletions

View File

@@ -3,4 +3,10 @@ var ReactDOM = require("react-dom");
var Article = require("./Article.jsx");
var style = require("../stylesheets/style.less");
ReactDOM.render(<Article/>, document.getElementById("article"));
ReactDOM.render(<Article/>, document.getElementById("article"), function() {
// trigger a #hash navigation
if (window.location.hash) {
var hash = window.location.hash;
window.location.hash = hash;
}
});