aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/components/Thread.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-06-28 19:31:55 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:53 +0300
commite58b1a6c4b714ed602d2545c89accaa5349520f0 (patch)
tree4aa5b8cc3ef8d38c629a5f91de086fe244f416c1 /vnext/src/components/Thread.js
parent9ad0808cdc88b79d97178de756ffc6aa8e985868 (diff)
no need to scroll thread top
Diffstat (limited to 'vnext/src/components/Thread.js')
-rw-r--r--vnext/src/components/Thread.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/vnext/src/components/Thread.js b/vnext/src/components/Thread.js
index abb993f2..2d161621 100644
--- a/vnext/src/components/Thread.js
+++ b/vnext/src/components/Thread.js
@@ -24,8 +24,6 @@ export default class Thread extends React.Component {
};
}
componentDidMount() {
- document.body.scrollTop = 0;
- document.documentElement.scrollTop = 0;
this.loadReplies();
}
loadReplies() {