aboutsummaryrefslogtreecommitdiff
path: root/src/Thread.js
diff options
context:
space:
mode:
authorLibravatar Renard 2019-09-16 13:46:12 -0300
committerLibravatar Renard 2019-09-16 13:46:12 -0300
commit542d536dab627c9fd24ec0d440b0106d71153258 (patch)
treec25a9b904bac5df0f03568b98c22cd24f87feda9 /src/Thread.js
parentc7fcf05857716e187c064d7ba21f27962015b71d (diff)
downloadbai-client-542d536dab627c9fd24ec0d440b0106d71153258.tar.gz
bai-client-542d536dab627c9fd24ec0d440b0106d71153258.tar.xz
bai-client-542d536dab627c9fd24ec0d440b0106d71153258.zip
Scroll to top view change
Diffstat (limited to 'src/Thread.js')
-rw-r--r--src/Thread.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Thread.js b/src/Thread.js
index f23c081..3a964b5 100644
--- a/src/Thread.js
+++ b/src/Thread.js
@@ -50,6 +50,7 @@ class Thread extends Component {
});
this.lastTime = resource.time;
});
+ window.scrollTo(0, 0);
}
componentWillUnmount() {