remotes/1693045480750635534/spooky-22
Aevann1 2021-09-29 18:55:23 +02:00
parent 44c28c9416
commit 98804f7124
1 changed files with 2 additions and 2 deletions

View File

@ -173,8 +173,8 @@
{% if p and not (v and v.id==c.author_id) and (not v or v.highlightcomments) %}
<script>
const comments = JSON.parse(localStorage.getItem(COMMENT_COUNTS_ID)) || {}
const lastCount = comments[postId]
comments = JSON.parse(localStorage.getItem(COMMENT_COUNTS_ID)) || {}
lastCount = comments[postId]
if ({{c.created_utc}} > lastCount.t) {
document.getElementsById("reddot-{{c.id}}").innerHTML = '<i style="color:red !important" class="text-admin fas fa-circle" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Unread"></i>'
}