From 6c81710814099405057e53b67fa6f227de473fac Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sat, 30 Apr 2016 07:49:11 -0700 Subject: [PATCH] Scroll to collapsed thread when hiding with keybind. #864 --- src/Miscellaneous/Keybinds.coffee | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Miscellaneous/Keybinds.coffee b/src/Miscellaneous/Keybinds.coffee index 48307366f..1ce5a7a84 100644 --- a/src/Miscellaneous/Keybinds.coffee +++ b/src/Miscellaneous/Keybinds.coffee @@ -184,8 +184,9 @@ Keybinds = return unless threadRoot Keybinds.hl 0, threadRoot when Conf['Hide'] - return unless thread - ThreadHiding.toggle thread if ThreadHiding.db + return unless thread and ThreadHiding.db + Header.scrollTo threadRoot + ThreadHiding.toggle thread when Conf['Previous Post Quoting You'] return unless threadRoot and QuoteYou.db QuoteYou.cb.seek 'preceding'