From 83f222b04e6819ce692a84707c45fecd6f92c6cb Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Tue, 5 Apr 2022 21:47:48 +0200 Subject: [PATCH] fds --- files/templates/comments.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/templates/comments.html b/files/templates/comments.html index d1274077b5..f3ec882e26 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 %}