forked from rDrama/rDrama
fix post editing
parent
3b7d070f21
commit
519ebb3fb4
|
@ -1,7 +1,7 @@
|
||||||
function togglePostEdit(id){
|
function togglePostEdit(id) {
|
||||||
body = document.getElementById("post-body");
|
const body = document.getElementById("post-body");
|
||||||
title = document.getElementById("post-title");
|
const title = document.getElementById("post-title");
|
||||||
form = document.getElementById("edit-post-body-"+id);
|
const form = document.getElementById("edit-post-body-"+id);
|
||||||
|
|
||||||
body.classList.toggle("d-none");
|
body.classList.toggle("d-none");
|
||||||
title.classList.toggle("d-none");
|
title.classList.toggle("d-none");
|
||||||
|
|
Loading…
Reference in New Issue