From fdc4dfab90072da4b0e585661988cde24be77649 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Sat, 30 Mar 2019 21:03:54 +0300 Subject: Revert some bad --- vnext/src/components/Thread.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'vnext/src/components/Thread.js') diff --git a/vnext/src/components/Thread.js b/vnext/src/components/Thread.js index 2c88abc3..f94ad358 100644 --- a/vnext/src/components/Thread.js +++ b/vnext/src/components/Thread.js @@ -32,6 +32,8 @@ export default class Thread extends React.Component { this.loadReplies(); } loadReplies() { + document.body.scrollTop = 0; + document.documentElement.scrollTop = 0; this.setState({ replies: [], loading: true }); const { mid } = this.props.match.params; let params = { -- cgit v1.2.3