forked from rDrama/rDrama
dfs
parent
debd7649ef
commit
e7fa3cac06
|
@ -15,9 +15,7 @@
|
|||
|
||||
<script src="https://cdn.jsdelivr.net/npm/clipboard@2.0.8/dist/clipboard.min.js"></script>
|
||||
<script src="/assets/js/new_comments_count.js?v=1"></script>
|
||||
|
||||
{% if v and v.id == p.author_id %}
|
||||
<script>
|
||||
<script>
|
||||
function poll_vote(cid) {
|
||||
var type = document.getElementById(cid).checked;
|
||||
var scoretext = document.getElementById('poll-' + cid);
|
||||
|
@ -26,7 +24,10 @@
|
|||
else scoretext.textContent = score - 1;
|
||||
post('/vote/poll/' + cid + '?vote=' + type);
|
||||
}
|
||||
</script>
|
||||
|
||||
{% if v and v.id == p.author_id %}
|
||||
<script>
|
||||
togglePostEdit=function(id){
|
||||
|
||||
body=document.getElementById("post-body");
|
||||
|
|
Loading…
Reference in New Issue