From 78f0cf9e78c13ed43f08a86453374df4a32b6925 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sat, 3 Nov 2018 21:42:35 -0700 Subject: [PATCH] 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. --- src/Monitoring/UnreadIndex.coffee | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Monitoring/UnreadIndex.coffee b/src/Monitoring/UnreadIndex.coffee index 184f86003..5a97d32d2 100644 --- a/src/Monitoring/UnreadIndex.coffee +++ b/src/Monitoring/UnreadIndex.coffee @@ -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