remotes/1693045480750635534/spooky-22
Aevann1 2021-09-29 19:02:08 +02:00
parent 7cb83ca92a
commit 78aa9db570
1 changed files with 2 additions and 0 deletions

View File

@ -175,6 +175,8 @@
<script>
comments = JSON.parse(localStorage.getItem("comment-counts")) || {}
lastCount = comments['{{p.id}}']
console.log(lastCount)
console.log(comments)
if (lastCount && {{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>'
}