remotes/1693045480750635534/spooky-22
Aevann1 2021-09-29 18:57:40 +02:00
parent 9759249bfb
commit 73aa356d26
1 changed files with 1 additions and 1 deletions

View File

@ -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[{{p}}]
lastCount = comments['{{p.id}}']
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>'
}