forked from rDrama/rDrama
fart
parent
ca7ae165b1
commit
cebb75c0fb
|
@ -903,6 +903,7 @@
|
|||
|
||||
{% if p %}
|
||||
<script>
|
||||
let curr;
|
||||
console.log('ajax test 2')
|
||||
document.getElementById("user-coins-amount").classList.add('unread2')
|
||||
{% if p and (not v or v.highlightcomments) %}
|
||||
|
@ -918,7 +919,8 @@
|
|||
{% for c in p.comments2 %}
|
||||
{% if not (v and v.id==c[0]) %}
|
||||
if ({{c[1]*1000}} > lastCount.t)
|
||||
document.getElementById("comment-{{c.id}}-only").classList.add('unread2')
|
||||
curr = document.getElementById("comment-{{c.id}}-only");
|
||||
if (curr) curr.classList.add('unread2');
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue