summaryrefslogtreecommitdiffstats
path: root/web/react/components
diff options
context:
space:
mode:
authorAsaad Mahmood <asaad@spinpunch.com>2015-12-08 12:23:52 +0500
committerAsaad Mahmood <asaad@spinpunch.com>2015-12-08 12:23:52 +0500
commit3265a545cf3fbab187e5968772c5d733a7d2bfb5 (patch)
treecf7eb667faad7ffff07f64ae86ecade33713b5ff /web/react/components
parentf5c72e23d594b2bc7a0ffe37860d4dda2a1a2b48 (diff)
downloadchat-3265a545cf3fbab187e5968772c5d733a7d2bfb5.tar.gz
chat-3265a545cf3fbab187e5968772c5d733a7d2bfb5.tar.bz2
chat-3265a545cf3fbab187e5968772c5d733a7d2bfb5.zip
Fixing es lint error
Diffstat (limited to 'web/react/components')
-rw-r--r--web/react/components/channel_invite_modal.jsx5
1 files changed, 0 insertions, 5 deletions
diff --git a/web/react/components/channel_invite_modal.jsx b/web/react/components/channel_invite_modal.jsx
index 749371c39..7dac39942 100644
--- a/web/react/components/channel_invite_modal.jsx
+++ b/web/react/components/channel_invite_modal.jsx
@@ -106,11 +106,6 @@ export default class ChannelInviteModal extends React.Component {
);
}
render() {
- var maxHeight = 1000;
- if (Utils.windowHeight() <= 1200) {
- maxHeight = Utils.windowHeight() - 300;
- }
-
var inviteError = null;
if (this.state.inviteError) {
inviteError = (<label className='has-error control-label'>{this.state.inviteError}</label>);