forked from rDrama/rDrama
fix
parent
09917f5b11
commit
2eb7d770c8
|
@ -12,23 +12,6 @@
|
|||
|
||||
{% block title %}
|
||||
|
||||
{% if v and (v.id == p.author_id or v.admin_level == 6 and v.id in [1,28,995,2513]) %}
|
||||
<script defer>
|
||||
togglePostEdit=function(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("hidden");
|
||||
title.classList.toggle("hidden");
|
||||
form.classList.toggle("hidden");
|
||||
autoExpand(box);
|
||||
};
|
||||
</script>
|
||||
{% endif %}
|
||||
|
||||
{% if 'rama' not in request.host %}
|
||||
<script defer>
|
||||
function poll_vote(cid) {
|
||||
|
|
Loading…
Reference in New Issue