From f73daebb61311efb966afdff75034a7f9c710fbf Mon Sep 17 00:00:00 2001
From: Harrison Healey <harrisonmhealey@gmail.com>
Date: Fri, 22 Apr 2016 14:52:44 -0400
Subject: PLT-1236 Added special handling for markdown links within mattermost
 (#2763)

* Added special handling for markdown links within mattermost

* Moved application of .app__body class to route components
---
 webapp/components/tutorial/tutorial_view.jsx | 5 +++++
 1 file changed, 5 insertions(+)

(limited to 'webapp/components/tutorial/tutorial_view.jsx')

diff --git a/webapp/components/tutorial/tutorial_view.jsx b/webapp/components/tutorial/tutorial_view.jsx
index 5f2c1a257..39e7b6816 100644
--- a/webapp/components/tutorial/tutorial_view.jsx
+++ b/webapp/components/tutorial/tutorial_view.jsx
@@ -6,6 +6,7 @@ import TutorialIntroScreens from './tutorial_intro_screens.jsx';
 import ChannelStore from 'stores/channel_store.jsx';
 import Constants from 'utils/constants.jsx';
 
+import $ from 'jquery';
 import React from 'react';
 
 export default class TutorialView extends React.Component {
@@ -20,9 +21,13 @@ export default class TutorialView extends React.Component {
     }
     componentDidMount() {
         ChannelStore.addChangeListener(this.handleChannelChange);
+
+        $('body').addClass('app__body');
     }
     componentWillUnmount() {
         ChannelStore.removeChangeListener(this.handleChannelChange);
+
+        $('body').removeClass('app__body');
     }
     handleChannelChange() {
         this.setState({
-- 
cgit v1.2.3-1-g7c22

