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/Feeds.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'vnext/src/components/Feeds.js') 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 || {}); -- cgit v1.2.3