forked from MarseyWorld/MarseyWorld
master
parent
cf65b0929c
commit
9759249bfb
|
@ -174,7 +174,7 @@
|
|||
{% if p and not (v and v.id==c.author_id) and (not v or v.highlightcomments) %}
|
||||
<script>
|
||||
comments = JSON.parse(localStorage.getItem({{c.id}})) || {}
|
||||
lastCount = comments[postId]
|
||||
lastCount = comments[{{p}}]
|
||||
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>'
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue