From fafc3bfae4891e72902cef0d38c4c8715dc944e8 Mon Sep 17 00:00:00 2001 From: Christopher Speller Date: Thu, 5 Nov 2015 10:24:26 -0500 Subject: Fixed center channel height magic. Fixes tutorial --- web/react/components/create_post.jsx | 2 -- 1 file changed, 2 deletions(-) (limited to 'web/react/components/create_post.jsx') diff --git a/web/react/components/create_post.jsx b/web/react/components/create_post.jsx index 1545cdfaa..4d1874e18 100644 --- a/web/react/components/create_post.jsx +++ b/web/react/components/create_post.jsx @@ -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(); } -- cgit v1.2.3-1-g7c22