remotes/1693045480750635534/spooky-22
Aevann1 2021-09-29 19:06:39 +02:00
parent 32610bf14f
commit 7ff9801c51
1 changed files with 2 additions and 1 deletions

View File

@ -175,7 +175,8 @@
<script>
comments = JSON.parse(localStorage.getItem("comment-counts")) || {}
lastCount = comments['{{p.id}}']
console.log('{{c.created_utc}}' + lastCount.t)
console.log('{{c.created_utc}}')
console.log(lastCount.t)
if ({{c.created_utc}} > lastCount.t) {
console.log('fuck')
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>'