aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/components/Thread.js
diff options
context:
space:
mode:
Diffstat (limited to 'vnext/src/components/Thread.js')
-rw-r--r--vnext/src/components/Thread.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/vnext/src/components/Thread.js b/vnext/src/components/Thread.js
index 7f8e515a..b426581d 100644
--- a/vnext/src/components/Thread.js
+++ b/vnext/src/components/Thread.js
@@ -31,6 +31,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 = {