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
Этот коммит содержится в:
Harrison Healey
2016-04-22 14:52:44 -04:00
коммит произвёл Corey Hulen
родитель e80bf13f48
Коммит f73daebb61
7 изменённых файлов: 29 добавлений и 18 удалений

Просмотреть файл

@@ -1,7 +1,6 @@
// 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';
@@ -35,12 +34,6 @@ 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});