summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/comments.pm
diff options
context:
space:
mode:
Diffstat (limited to 'IkiWiki/Plugin/comments.pm')
-rw-r--r--IkiWiki/Plugin/comments.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/comments.pm b/IkiWiki/Plugin/comments.pm
index db829f344..2ca2d0a1d 100644
--- a/IkiWiki/Plugin/comments.pm
+++ b/IkiWiki/Plugin/comments.pm
@@ -500,7 +500,8 @@ sub sessioncgi ($$) {
error($conflict) if defined $conflict;
# Bounce back to where we were, but defeat broken caches
- my $anticache = "?updated=$page/$config{comments_pagename}$i";
+ # and jump to the comments anchor.
+ my $anticache = "?updated=$page/$config{comments_pagename}$i#comments";
IkiWiki::redirect($cgi, urlto($page, undef, 1).$anticache);
}
else {