pull/127/head
parent
9a5c184144
commit
e87d5b9db8
|
@ -17,7 +17,7 @@ function highlight_unread(localstoragevar) {
|
||||||
|
|
||||||
highlight_unread("comment-counts")
|
highlight_unread("comment-counts")
|
||||||
|
|
||||||
if (!location.href.includes("?context")) {
|
if (!location.href.includes("#context")) {
|
||||||
localStorage.setItem("old-comment-counts", localStorage.getItem("comment-counts"))
|
localStorage.setItem("old-comment-counts", localStorage.getItem("comment-counts"))
|
||||||
|
|
||||||
const comments = JSON.parse(localStorage.getItem("comment-counts")) || {}
|
const comments = JSON.parse(localStorage.getItem("comment-counts")) || {}
|
||||||
|
|
Loading…
Reference in New Issue