diff options
Diffstat (limited to 'webapp/components/new_channel_modal.jsx')
-rw-r--r-- | webapp/components/new_channel_modal.jsx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/webapp/components/new_channel_modal.jsx b/webapp/components/new_channel_modal.jsx index 1198335ca..e174ddd32 100644 --- a/webapp/components/new_channel_modal.jsx +++ b/webapp/components/new_channel_modal.jsx @@ -4,6 +4,7 @@ import $ from 'jquery'; import ReactDOM from 'react-dom'; +import * as UserAgent from 'utils/user_agent.jsx'; import * as Utils from 'utils/utils.jsx'; import Constants from 'utils/constants.jsx'; @@ -53,9 +54,11 @@ class NewChannelModal extends React.Component { } componentDidMount() { - if (Utils.isBrowserIE()) { + // ??? + if (UserAgent.isInternetExplorer()) { $('body').addClass('browser--ie'); } + PreferenceStore.addChangeListener(this.onPreferenceChange); } |