diff options
author | François Schmidts <francois.schmidts@gmail.com> | 2016-01-31 16:13:03 +0100 |
---|---|---|
committer | François Schmidts <francois.schmidts@gmail.com> | 2016-01-31 16:24:38 +0100 |
commit | caa301e8592812b1421040e7f6116d4a2d180da7 (patch) | |
tree | a2e517dc8dd954a4d19ec5e6597db71a5503d992 /src | |
parent | right redirect link handling (diff) | |
download | newspipe-caa301e8592812b1421040e7f6116d4a2d180da7.tar.gz newspipe-caa301e8592812b1421040e7f6116d4a2d180da7.tar.bz2 newspipe-caa301e8592812b1421040e7f6116d4a2d180da7.zip |
reset scrolling when setting right panel
Diffstat (limited to 'src')
-rw-r--r-- | src/web/js/components/RightPanel.react.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/web/js/components/RightPanel.react.js b/src/web/js/components/RightPanel.react.js index e9485511..42f8f8ef 100644 --- a/src/web/js/components/RightPanel.react.js +++ b/src/web/js/components/RightPanel.react.js @@ -293,6 +293,7 @@ var RightPanel = React.createClass({ return <li>{this.state.article.title}</li>; }, render: function() { + window.scrollTo(0, 0); var brd_category = null; var brd_feed = null; var brd_article = null; |