fds
This commit is contained in:
parent
a893923ece
commit
237e02e1e6
1 changed files with 2 additions and 2 deletions
|
@ -867,7 +867,7 @@
|
||||||
{% for c in p.comments %}
|
{% for c in p.comments %}
|
||||||
{% if not (v and v.id==c.author_id) and not c.voted %}
|
{% if not (v and v.id==c.author_id) and not c.voted %}
|
||||||
if ({{c.created_utc*1000}} > lastCount.t)
|
if ({{c.created_utc*1000}} > lastCount.t)
|
||||||
try {document.getElementById("comment-{{c.id}}").classList.add('unread')}
|
try {document.getElementById("comment-{{c.id}}-only").classList.add('unread')}
|
||||||
catch(e) {}
|
catch(e) {}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
@ -898,7 +898,7 @@
|
||||||
{% for c in p.comments %}
|
{% for c in p.comments %}
|
||||||
{% if not (v and v.id==c.author_id) and not c.voted %}
|
{% if not (v and v.id==c.author_id) and not c.voted %}
|
||||||
if ({{c.created_utc*1000}} > lastCount.t)
|
if ({{c.created_utc*1000}} > lastCount.t)
|
||||||
try {document.getElementById("comment-{{c.id}}").classList.add('unread')}
|
try {document.getElementById("comment-{{c.id}}-only").classList.add('unread')}
|
||||||
catch(e) {}
|
catch(e) {}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue