aboutsummaryrefslogtreecommitdiff
path: root/script/showPost.js
blob: 07a971915103db7819dd694465abf365afe243cb (plain)
1
2
3
4
5
6
7
8
9
function showPost(id) {
  let post = document.getElementById(id);
  if (post.style.display == "none") {
    post.style.display = "block";
  } else {
    post.style.display = "none";
  }
}