aboutsummaryrefslogtreecommitdiff
path: root/src/web/js
diff options
context:
space:
mode:
authorFrançois Schmidts <francois.schmidts@gmail.com>2016-01-31 16:13:03 +0100
committerFrançois Schmidts <francois.schmidts@gmail.com>2016-01-31 16:24:38 +0100
commitcaa301e8592812b1421040e7f6116d4a2d180da7 (patch)
treea2e517dc8dd954a4d19ec5e6597db71a5503d992 /src/web/js
parentright redirect link handling (diff)
downloadnewspipe-caa301e8592812b1421040e7f6116d4a2d180da7.tar.gz
newspipe-caa301e8592812b1421040e7f6116d4a2d180da7.tar.bz2
newspipe-caa301e8592812b1421040e7f6116d4a2d180da7.zip
reset scrolling when setting right panel
Diffstat (limited to 'src/web/js')
-rw-r--r--src/web/js/components/RightPanel.react.js1
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;
bgstack15