From 3265a545cf3fbab187e5968772c5d733a7d2bfb5 Mon Sep 17 00:00:00 2001 From: Asaad Mahmood Date: Tue, 8 Dec 2015 12:23:52 +0500 Subject: Fixing es lint error --- web/react/components/channel_invite_modal.jsx | 5 ----- 1 file changed, 5 deletions(-) (limited to 'web/react/components') 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 = (); -- cgit v1.2.3-1-g7c22