diff options
author | Asaad Mahmood <asaadmahmoodspin@users.noreply.github.com> | 2016-04-06 23:19:55 +0500 |
---|---|---|
committer | Corey Hulen <corey@hulen.com> | 2016-04-06 11:19:55 -0700 |
commit | 32bc97f8559a3a1b9c9237dbb3640f9eac6daf98 (patch) | |
tree | adf733dc5c6587bdab799de0d0eb125f55885036 /webapp/components/posts_view.jsx | |
parent | 20274fe476b2bd547031c6fe86819c38dfee9050 (diff) | |
download | chat-32bc97f8559a3a1b9c9237dbb3640f9eac6daf98.tar.gz chat-32bc97f8559a3a1b9c9237dbb3640f9eac6daf98.tar.bz2 chat-32bc97f8559a3a1b9c9237dbb3640f9eac6daf98.zip |
Multiple UI Improvements
* Multiple UI Improvements
* Adding app_body behind missing classes
Diffstat (limited to 'webapp/components/posts_view.jsx')
-rw-r--r-- | webapp/components/posts_view.jsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/webapp/components/posts_view.jsx b/webapp/components/posts_view.jsx index aa7f445ce..cac08aa34 100644 --- a/webapp/components/posts_view.jsx +++ b/webapp/components/posts_view.jsx @@ -372,11 +372,13 @@ export default class PostsView extends React.Component { this.updateScrolling(); } window.addEventListener('resize', this.handleResize); + $('body').addClass('app__body'); } componentWillUnmount() { window.removeEventListener('resize', this.handleResize); this.scrollStopAction.cancel(); PreferenceStore.removeChangeListener(this.updateState); + $('body').removeClass('app__body'); } componentDidUpdate() { if (this.props.postList != null) { |