Revert "Let pressing Mark Read link contract an expanded thread." and "Here it's more appropriate to maintain the position of the bottom of the thread than to scroll up to the top."

This reverts commits dbcf588befff831267cad1eed5fa3c6777efe95d and 23b8523cd7b77bfc00b08c5be3ee70170b7d71a9.
This commit is contained in:
ccd0 2018-11-03 21:42:35 -07:00
parent 9085d28789
commit 78f0cf9e78

View File

@ -108,10 +108,6 @@ UnreadIndex =
val: lastPost
$.rm UnreadIndex.hr[thread.fullID]
thread.nodes.root.classList.remove 'unread-thread'
if thread.ID of ExpandThread.statuses
{bottom} = thread.nodes.root.getBoundingClientRect()
ExpandThread.toggle thread
window.scrollBy 0, (thread.nodes.root.getBoundingClientRect().bottom - bottom)
ThreadWatcher.update thread.board.ID, thread.ID,
unread: 0
quotingYou: false