remotes/1693045480750635534/spooky-22
Aevann1 2021-09-29 19:13:23 +02:00
parent 551e16ff64
commit 5c39b5d9a4
1 changed files with 3 additions and 3 deletions

View File

@ -175,9 +175,9 @@
<script>
comments = JSON.parse(localStorage.getItem("comment-counts")) || {}
lastCount = comments['{{p.id}}']
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>'
}
console.log({{c.created_utc}})
console.log(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>'
</script>
<div id="reddot-{{c.id}}"></div>
{% endif %}