diff options
author | Christopher Speller <crspeller@gmail.com> | 2015-10-15 12:07:06 -0400 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2015-10-15 15:00:28 -0400 |
commit | 1571a9a2dfbe6dd3bb598a92f7f62e457b613241 (patch) | |
tree | c615bb285e59cc2fb9faa61bbbe02af858b9212b /web/react/components/user_settings/user_settings_appearance.jsx | |
parent | fda7a99e8ce15d51f1d7b2667015af2ef8ab1dec (diff) | |
download | chat-1571a9a2dfbe6dd3bb598a92f7f62e457b613241.tar.gz chat-1571a9a2dfbe6dd3bb598a92f7f62e457b613241.tar.bz2 chat-1571a9a2dfbe6dd3bb598a92f7f62e457b613241.zip |
Fixing most deprication warnings
Diffstat (limited to 'web/react/components/user_settings/user_settings_appearance.jsx')
-rw-r--r-- | web/react/components/user_settings/user_settings_appearance.jsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/react/components/user_settings/user_settings_appearance.jsx b/web/react/components/user_settings/user_settings_appearance.jsx index a16440d55..7f363e92e 100644 --- a/web/react/components/user_settings/user_settings_appearance.jsx +++ b/web/react/components/user_settings/user_settings_appearance.jsx @@ -29,14 +29,14 @@ export default class UserSettingsAppearance extends React.Component { UserStore.addChangeListener(this.onChange); if (this.props.activeSection === 'theme') { - $(React.findDOMNode(this.refs[this.state.theme])).addClass('active-border'); + $(ReactDOM.findDOMNode(this.refs[this.state.theme])).addClass('active-border'); } $('#user_settings').on('hidden.bs.modal', this.handleClose); } componentDidUpdate() { if (this.props.activeSection === 'theme') { $('.color-btn').removeClass('active-border'); - $(React.findDOMNode(this.refs[this.state.theme])).addClass('active-border'); + $(ReactDOM.findDOMNode(this.refs[this.state.theme])).addClass('active-border'); } } componentWillUnmount() { |