diff options
author | Asaad Mahmood <asaadmahmoodspin@users.noreply.github.com> | 2016-04-07 23:37:50 +0500 |
---|---|---|
committer | Corey Hulen <corey@hulen.com> | 2016-04-07 11:37:50 -0700 |
commit | 5cf982e0217a968d5c10ee182c3f02f6edffe567 (patch) | |
tree | 97e560f6d84fab23a723a2d3e9c3d45c56995f5f /webapp/components/tutorial | |
parent | af98754d249bc938b9d57106d05439c7b12d93b3 (diff) | |
download | chat-5cf982e0217a968d5c10ee182c3f02f6edffe567.tar.gz chat-5cf982e0217a968d5c10ee182c3f02f6edffe567.tar.bz2 chat-5cf982e0217a968d5c10ee182c3f02f6edffe567.zip |
PLT-2549 - Improvements to theme stuff (#2657)
Diffstat (limited to 'webapp/components/tutorial')
-rw-r--r-- | webapp/components/tutorial/tutorial_intro_screens.jsx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/webapp/components/tutorial/tutorial_intro_screens.jsx b/webapp/components/tutorial/tutorial_intro_screens.jsx index 0358a6a65..8b73775e5 100644 --- a/webapp/components/tutorial/tutorial_intro_screens.jsx +++ b/webapp/components/tutorial/tutorial_intro_screens.jsx @@ -1,6 +1,7 @@ // Copyright (c) 2015 Mattermost, Inc. All Rights Reserved. // See License.txt for license information. +import $ from 'jquery'; import UserStore from 'stores/user_store.jsx'; import TeamStore from 'stores/team_store.jsx'; import PreferenceStore from 'stores/preference_store.jsx'; @@ -34,6 +35,12 @@ export default class TutorialIntroScreens extends React.Component { this.state = {currentScreen: 0}; } + componentDidMount() { + $('body').addClass('app__body'); + } + componentWillUnmount() { + $('body').removeClass('app__body'); + } handleNext() { if (this.state.currentScreen < 2) { this.setState({currentScreen: this.state.currentScreen + 1}); |