fds
parent
73aa356d26
commit
c91ccf926c
|
@ -175,7 +175,7 @@
|
|||
<script>
|
||||
comments = JSON.parse(localStorage.getItem({{c.id}})) || {}
|
||||
lastCount = comments['{{p.id}}']
|
||||
if ({{c.created_utc}} > lastCount.t) {
|
||||
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>'
|
||||
}
|
||||
</script>
|
||||
|
|
Loading…
Reference in New Issue