about summary refs log tree commit diff
path: root/app/javascript
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2018-05-27 21:33:04 +0200
committerThibG <thib@sitedethib.com>2018-12-18 21:39:35 +0100
commitc644e6ea898413a35c5bd69bf49b872f605151dc (patch)
tree56c55b05303fc17a0c1726673f4302cad729aaa0 /app/javascript
parent200a8bdd3a63364820074563b14ab993f7549648 (diff)
Do not replace history state
This is both for consistency with account timelines and to not mess with
the logic used to decide whether going back in the browser's history is
going to make us leave the WebUI.
Diffstat (limited to 'app/javascript')
-rw-r--r--app/javascript/flavours/glitch/features/community_timeline/components/section_headline.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/javascript/flavours/glitch/features/community_timeline/components/section_headline.js b/app/javascript/flavours/glitch/features/community_timeline/components/section_headline.js
index c7176d04b..8c0c68cdc 100644
--- a/app/javascript/flavours/glitch/features/community_timeline/components/section_headline.js
+++ b/app/javascript/flavours/glitch/features/community_timeline/components/section_headline.js
@@ -48,8 +48,8 @@ export default class SectionHeadline extends Component {
           </Fragment>
         ) : (
           <Fragment>
-            <NavLink exact to={to} replace><FormattedMessage id='timeline.posts' defaultMessage='Toots' /></NavLink>
-            <NavLink exact to={`${to}/media`} replace><FormattedMessage id='timeline.media' defaultMessage='Media' /></NavLink>
+            <NavLink exact to={to}><FormattedMessage id='timeline.posts' defaultMessage='Toots' /></NavLink>
+            <NavLink exact to={`${to}/media`}><FormattedMessage id='timeline.media' defaultMessage='Media' /></NavLink>
           </Fragment>
         )}
       </div>