diff options
author | Renard | 2019-09-16 13:46:12 -0300 |
---|---|---|
committer | Renard | 2019-09-16 13:46:12 -0300 |
commit | 542d536dab627c9fd24ec0d440b0106d71153258 (patch) | |
tree | c25a9b904bac5df0f03568b98c22cd24f87feda9 /src/Thread.js | |
parent | c7fcf05857716e187c064d7ba21f27962015b71d (diff) | |
download | bai-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.js | 1 |
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() { |