This commit is contained in:
Aevann1 2022-01-22 00:48:06 +02:00
parent 2072c944cd
commit 23a3af3c2e
12 changed files with 70 additions and 55 deletions

View file

@ -30,9 +30,9 @@ if (typeof showNewCommentCounts === 'undefined') {
delete comments[key]
}
}
window.localStorage.setItem("comment-counts", JSON.stringify(comments))
localStorage.setItem("comment-counts", JSON.stringify(comments))
}
window.localStorage.setItem(LAST_CACHE_CLEAN_ID, JSON.stringify(now))
localStorage.setItem(LAST_CACHE_CLEAN_ID, JSON.stringify(now))
}
setTimeout(cleanCache, 500)