site: fix hash

pull/12837/head
afc163 6 years ago
parent 54e24421d1
commit 96e0cb5313

@ -72,7 +72,7 @@ export default class MainContent extends React.Component {
}
this.timer = setTimeout(() => {
if (window.location.hash) {
document.querySelector(window.location.hash).scrollIntoView();
document.querySelector(decodeURIComponent(window.location.hash)).scrollIntoView();
}
}, 50);
}

Loading…
Cancel
Save