aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/components/Feeds.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-03-30 21:03:54 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:54 +0300
commitfdc4dfab90072da4b0e585661988cde24be77649 (patch)
treeeabe4560961671ecc25968c8611c2367e1b37c6c /vnext/src/components/Feeds.js
parent9efaac1e0f6863f9791465ecca07cc57be35b21c (diff)
Revert some bad
Diffstat (limited to 'vnext/src/components/Feeds.js')
-rw-r--r--vnext/src/components/Feeds.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/vnext/src/components/Feeds.js b/vnext/src/components/Feeds.js
index 538bfe7b..55a4c287 100644
--- a/vnext/src/components/Feeds.js
+++ b/vnext/src/components/Feeds.js
@@ -81,6 +81,8 @@ function Feed(props) {
}, [props.visitor, props.location]);
let loadMessages = (hash = '', filter = '') => {
+ document.body.scrollTop = 0;
+ document.documentElement.scrollTop = 0;
setMsgs([]);
const filterParams = qs.parse(filter);
let params = Object.assign({}, filterParams || {}, props.query.search || {});