This commit is contained in:
Aevann1 2022-04-05 21:47:48 +02:00
parent a893923ece
commit 237e02e1e6

View file

@ -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 %}