Let pressing Mark Read link contract an expanded thread.
This commit is contained in:
parent
50dad6006e
commit
23b8523cd7
@ -108,6 +108,9 @@ UnreadIndex =
|
|||||||
val: lastPost
|
val: lastPost
|
||||||
$.rm UnreadIndex.hr[thread.fullID]
|
$.rm UnreadIndex.hr[thread.fullID]
|
||||||
thread.nodes.root.classList.remove 'unread-thread'
|
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,
|
ThreadWatcher.update thread.board.ID, thread.ID,
|
||||||
unread: 0
|
unread: 0
|
||||||
quotingYou: false
|
quotingYou: false
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user