This commit is contained in:
Aevann1 2021-12-11 05:18:14 +02:00
parent 8c13a0c879
commit 2a965e9ff5
4 changed files with 29 additions and 26 deletions

View file

@ -0,0 +1,11 @@
function togglePostEdit(id){
body=document.getElementById("post-body");
title=document.getElementById("post-title");
form=document.getElementById("edit-post-body-"+id);
box=document.getElementById("post-edit-box-"+id);
body.classList.toggle("d-none");
title.classList.toggle("d-none");
form.classList.toggle("d-none");
autoExpand(box);
};