diff --git a/files/assets/js/submission.js b/files/assets/js/submission.js index 20a0b46d8..c617f47f2 100644 --- a/files/assets/js/submission.js +++ b/files/assets/js/submission.js @@ -17,7 +17,7 @@ function highlight_unread(localstoragevar) { highlight_unread("comment-counts") -if (!location.href.includes("?context")) { +if (!location.href.includes("#context")) { localStorage.setItem("old-comment-counts", localStorage.getItem("comment-counts")) const comments = JSON.parse(localStorage.getItem("comment-counts")) || {}