From 2f3a3182ae86e9443a642125f841e90fcfb5a422 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Fri, 2 Nov 2018 00:03:44 -0700 Subject: [PATCH] Keep thread from moving off screen when contracted via keybind. --- src/Miscellaneous/Keybinds.coffee | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Miscellaneous/Keybinds.coffee b/src/Miscellaneous/Keybinds.coffee index 680a2f5b8..eac853916 100644 --- a/src/Miscellaneous/Keybinds.coffee +++ b/src/Miscellaneous/Keybinds.coffee @@ -182,6 +182,8 @@ Keybinds = when Conf['Expand thread'] return unless g.VIEW is 'index' and threadRoot ExpandThread.toggle thread + # Keep thread from moving off screen when contracted. + Header.scrollTo threadRoot when Conf['Open thread'] return unless g.VIEW is 'index' and threadRoot Keybinds.open thread