diff --git a/files/templates/comments.html b/files/templates/comments.html index d1274077b..f3ec882e2 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -867,7 +867,7 @@ {% for c in p.comments %} {% if not (v and v.id==c.author_id) and not c.voted %} 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) {} {% endif %} {% endfor %} @@ -898,7 +898,7 @@ {% for c in p.comments %} {% if not (v and v.id==c.author_id) and not c.voted %} 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) {} {% endif %} {% endfor %}