From 13720ff2662db579da1fca60d8eb1bd83acd664e Mon Sep 17 00:00:00 2001 From: Deimos Date: Tue, 13 Aug 2019 17:45:22 -0600 Subject: [PATCH] Jump directly to comments when returning to topic If a user has topic visit-tracking enabled, this makes it so that the comments link will jump directly to the comments section when returning to a topic that they've visited previously. This is mostly useful with long text topics so you don't always have to scroll past all the text. It might also be good to apply this to the title link for text topics, but I'm not sure if many people click on that with the bright "(x new)" drawing their attention. --- tildes/tildes/templates/macros/topics.jinja2 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tildes/tildes/templates/macros/topics.jinja2 b/tildes/tildes/templates/macros/topics.jinja2 index b2c72f8..ab9ca29 100644 --- a/tildes/tildes/templates/macros/topics.jinja2 +++ b/tildes/tildes/templates/macros/topics.jinja2 @@ -63,12 +63,17 @@