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