From e686587fc86cb02aa4073b3898d76e91c1f82efd Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Tue, 25 Jan 2022 03:20:59 +0200 Subject: [PATCH] cx --- files/templates/comments.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/files/templates/comments.html b/files/templates/comments.html index e6bba4c3e..e4c8ba584 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -887,7 +887,9 @@ { {% for c in p.comments2 %} {% if not (v and v.id==c[0]) %} - if ({{c[1]*1000}} > lastCount.t) document.getElementById("reddot-{{c[2]}}").innerHTML = redhtml + if ({{c[1]*1000}} > lastCount.t) + try {document.getElementById("reddot-{{c[2]}}").innerHTML = redhtml} + catch(e) {} {% endif %} {% endfor %} }