aboutsummaryrefslogtreecommitdiff
path: root/script/gotoId.js
blob: 991bf1d84769ebb59e69060c2b2c16d7fe1266d8 (plain)
1
2
3
4
5
6
function gotoId() {
  if ( window.location.hash ) {
    let hash = window.location.hash.substring(1);
    showPost(hash);
  }
}