summaryrefslogtreecommitdiffstats
path: root/webapp/components/invite_member_modal.jsx
diff options
context:
space:
mode:
authorAsaad Mahmood <asaad@spinpunch.com>2016-03-23 04:06:08 +0500
committerAsaad Mahmood <asaad@spinpunch.com>2016-03-23 18:16:41 +0500
commite60f6f3b137839ed603a1b5d45cf658b6570ff91 (patch)
treedc50cde2a5e5c5732eab5cd11b9d219ce9444f5d /webapp/components/invite_member_modal.jsx
parent18b8ae5298f50161ffa55b6d8576a5438fe0091a (diff)
downloadchat-e60f6f3b137839ed603a1b5d45cf658b6570ff91.tar.gz
chat-e60f6f3b137839ed603a1b5d45cf658b6570ff91.tar.bz2
chat-e60f6f3b137839ed603a1b5d45cf658b6570ff91.zip
Multiple UI improvements
Diffstat (limited to 'webapp/components/invite_member_modal.jsx')
-rw-r--r--webapp/components/invite_member_modal.jsx7
1 files changed, 0 insertions, 7 deletions
diff --git a/webapp/components/invite_member_modal.jsx b/webapp/components/invite_member_modal.jsx
index d567183ac..1f8fd6133 100644
--- a/webapp/components/invite_member_modal.jsx
+++ b/webapp/components/invite_member_modal.jsx
@@ -1,7 +1,6 @@
// Copyright (c) 2015 Mattermost, Inc. All Rights Reserved.
// See License.txt for license information.
-import $ from 'jquery';
import ReactDOM from 'react-dom';
import * as utils from 'utils/utils.jsx';
import Constants from 'utils/constants.jsx';
@@ -176,12 +175,6 @@ class InviteMemberModal extends React.Component {
});
}
- componentDidUpdate(prevProps, prevState) {
- if (!prevState.show && this.state.show) {
- $(ReactDOM.findDOMNode(this.refs.modalBody)).css('max-height', $(window).height() - 200);
- }
- }
-
addInviteFields() {
var count = this.state.idCount + 1;
var inviteIds = this.state.inviteIds;