diff --git a/files/templates/comments.html b/files/templates/comments.html index 9c2b7f0e76..d1274077b5 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}}-only").classList.add('unread')} + try {document.getElementById("comment-{{c.id}}").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}}-only").classList.add('unread')} + try {document.getElementById("comment-{{c.id}}").classList.add('unread')} catch(e) {} {% endif %} {% endfor %} @@ -920,16 +920,16 @@
{% endif %} -{% if not ajax and v and v.theme != 'transparent' %} +{% if not ajax and v and v.theme == 'midnight' %} {% endif %}