forked from MarseyWorld/MarseyWorld
generate markdown preview when clicking edit (to make page jump to the top instead of bottom)
parent
fc5af9c044
commit
4c8df104be
|
@ -9,6 +9,7 @@ function togglePostEdit(id){
|
|||
|
||||
box=document.getElementById("post-edit-box-"+id);
|
||||
autoExpand(box);
|
||||
markdown(box);
|
||||
box=document.getElementById("post-edit-title");
|
||||
autoExpand(box);
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue