Let pressing Mark Read link contract an expanded thread.

This commit is contained in:
ccd0 2018-11-03 04:02:08 -07:00
parent 50dad6006e
commit 23b8523cd7

View File

@ -108,6 +108,9 @@ UnreadIndex =
val: lastPost
$.rm UnreadIndex.hr[thread.fullID]
thread.nodes.root.classList.remove 'unread-thread'
if thread.ID of ExpandThread.statuses
ExpandThread.toggle thread
Header.scrollToIfNeeded thread.nodes.root
ThreadWatcher.update thread.board.ID, thread.ID,
unread: 0
quotingYou: false