From ce5d40cfb721cf08edb09258b7faa954bbac35dc Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sat, 3 Nov 2018 02:18:50 -0700 Subject: [PATCH] Consistent with `update`, remove class on thread instead of removing link. --- src/Monitoring/UnreadIndex.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Monitoring/UnreadIndex.coffee b/src/Monitoring/UnreadIndex.coffee index 47315fa15..b890b68e5 100644 --- a/src/Monitoring/UnreadIndex.coffee +++ b/src/Monitoring/UnreadIndex.coffee @@ -104,7 +104,7 @@ UnreadIndex = threadID: thread.ID val: lastPost $.rm UnreadIndex.hr[thread.fullID] - $.rm UnreadIndex.markReadLink[thread.fullID] + thread.nodes.root.classList.remove 'unread-thread' ThreadWatcher.update thread.board.ID, thread.ID, unread: 0 quotingYou: false