summaryrefslogtreecommitdiffstats
path: root/web/react/components/new_channel_modal.jsx
diff options
context:
space:
mode:
authorAsaad Mahmood <asaad@spinpunch.com>2016-01-28 19:38:23 +0500
committerAsaad Mahmood <asaad@spinpunch.com>2016-01-28 19:38:23 +0500
commit5d92fda12d0b75bbbcb830d6aeb2f0faef1bc6e8 (patch)
tree15fa92c71a340267ea7d8fa6148ec3b80bf0c63a /web/react/components/new_channel_modal.jsx
parentfa6daad64d474e99f3a2964784585a748350c25a (diff)
downloadchat-5d92fda12d0b75bbbcb830d6aeb2f0faef1bc6e8.tar.gz
chat-5d92fda12d0b75bbbcb830d6aeb2f0faef1bc6e8.tar.bz2
chat-5d92fda12d0b75bbbcb830d6aeb2f0faef1bc6e8.zip
Fixing modals for IE
Diffstat (limited to 'web/react/components/new_channel_modal.jsx')
-rw-r--r--web/react/components/new_channel_modal.jsx5
1 files changed, 5 insertions, 0 deletions
diff --git a/web/react/components/new_channel_modal.jsx b/web/react/components/new_channel_modal.jsx
index 70fe10eef..9f733c476 100644
--- a/web/react/components/new_channel_modal.jsx
+++ b/web/react/components/new_channel_modal.jsx
@@ -22,6 +22,11 @@ export default class NewChannelModal extends React.Component {
});
}
}
+ componentDidMount() {
+ if (Utils.isBrowserIE()) {
+ $('body').addClass('browser--IE');
+ }
+ }
handleSubmit(e) {
e.preventDefault();