sfd
parent
7cb83ca92a
commit
78aa9db570
|
@ -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>'
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue