summaryrefslogtreecommitdiffstats
path: root/webapp/components/posts_view.jsx
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2016-03-29 19:24:53 -0400
committerChristopher Speller <crspeller@gmail.com>2016-03-29 19:24:53 -0400
commite7ea080fd332ca563c3e5e4ea4ed24d86ebf884d (patch)
tree8f78a64e57489c9771c50b5960ef9e2dcd5aa342 /webapp/components/posts_view.jsx
parenta6a0f18166a29dd22525b690d8141961dbecdb9d (diff)
downloadchat-e7ea080fd332ca563c3e5e4ea4ed24d86ebf884d.tar.gz
chat-e7ea080fd332ca563c3e5e4ea4ed24d86ebf884d.tar.bz2
chat-e7ea080fd332ca563c3e5e4ea4ed24d86ebf884d.zip
Fixing react warnings on permalink return
Diffstat (limited to 'webapp/components/posts_view.jsx')
-rw-r--r--webapp/components/posts_view.jsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/webapp/components/posts_view.jsx b/webapp/components/posts_view.jsx
index e034a592e..647c7f086 100644
--- a/webapp/components/posts_view.jsx
+++ b/webapp/components/posts_view.jsx
@@ -384,6 +384,7 @@ export default class PostsView extends React.Component {
}
componentWillUnmount() {
window.removeEventListener('resize', this.handleResize);
+ this.scrollStopAction.cancel();
}
componentDidUpdate() {
if (this.props.postList != null) {