Fixed center channel height magic. Fixes tutorial

Этот коммит содержится в:
Christopher Speller
2015-11-05 10:24:26 -05:00
родитель b746b314cc
Коммит fafc3bfae4
8 изменённых файлов: 14 добавлений и 11 удалений

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

@@ -236,8 +236,6 @@ export default class CreatePost extends React.Component {
PostStore.storeCurrentDraft(draft);
}
resizePostHolder() {
const height = this.state.windowHeight - $(ReactDOM.findDOMNode(this.refs.topDiv)).height() - 50;
$('.post-list-holder-by-time').css('height', `${height}px`);
if (this.state.windowWidth > 960) {
$('#post_textbox').focus();
}