summaryrefslogtreecommitdiffstats
path: root/webapp/components/channel_view.jsx
diff options
context:
space:
mode:
authorAsaad Mahmood <asaadmahmood@users.noreply.github.com>2017-04-27 18:40:58 +0500
committerJoram Wilander <jwawilander@gmail.com>2017-04-27 09:40:58 -0400
commitbd665871831a43184ceb928bdeb862b0a46386cf (patch)
tree23b0e9d0b26d95bfabd29d707b40bb2e2c7d0eec /webapp/components/channel_view.jsx
parent66f538783bfbcb0814bcc7dff3697e84e8554649 (diff)
downloadchat-bd665871831a43184ceb928bdeb862b0a46386cf.tar.gz
chat-bd665871831a43184ceb928bdeb862b0a46386cf.tar.bz2
chat-bd665871831a43184ceb928bdeb862b0a46386cf.zip
Ui improvements (#6198)
* PLT-6306 - Post alignment in compact view * PLT-6266 - Adjusting spacing for files (compact) * PLT-6302 - Margins not equal for paragraphs in post * PLT-6332 - FIxing inline images * PLT-6134 - Fixing border on emoji picker * PLT-6323 - Fixing UI for system console user list * PLT-6375 - Updating emoji picker * PLT-6327 - Updating more channel/user list * PLT-6241 - Adding IE detection * PLT-6332- Fixing inline markdown images
Diffstat (limited to 'webapp/components/channel_view.jsx')
-rw-r--r--webapp/components/channel_view.jsx6
1 files changed, 6 insertions, 0 deletions
diff --git a/webapp/components/channel_view.jsx b/webapp/components/channel_view.jsx
index 9359ff899..d6a931e0b 100644
--- a/webapp/components/channel_view.jsx
+++ b/webapp/components/channel_view.jsx
@@ -4,6 +4,7 @@
import $ from 'jquery';
import React from 'react';
+import * as UserAgent from 'utils/user_agent.jsx';
import ChannelHeader from 'components/channel_header.jsx';
import FileUploadOverlay from 'components/file_upload_overlay.jsx';
import CreatePost from 'components/create_post.jsx';
@@ -40,6 +41,11 @@ export default class ChannelView extends React.Component {
ChannelStore.addChangeListener(this.updateState);
$('body').addClass('app__body');
+
+ // IE Detection
+ if (UserAgent.isInternetExplorer()) {
+ $('body').addClass('browser--ie');
+ }
}
componentWillUnmount() {
ChannelStore.removeChangeListener(this.updateState);