diff options
author | nickago <ngonella@calpoly.edu> | 2015-08-14 09:29:15 -0700 |
---|---|---|
committer | nickago <ngonella@calpoly.edu> | 2015-08-14 09:29:15 -0700 |
commit | 156682e3dec71f672118a04377aa5a367f00c4ee (patch) | |
tree | 343a60ab3801c380851a9fc9904bbd89b47746cd /web/react/components/user_settings.jsx | |
parent | 5c1bead36ac59ed62aeab97fc49ad2e6a9df458b (diff) | |
download | chat-156682e3dec71f672118a04377aa5a367f00c4ee.tar.gz chat-156682e3dec71f672118a04377aa5a367f00c4ee.tar.bz2 chat-156682e3dec71f672118a04377aa5a367f00c4ee.zip |
Changed user_settings1 to user_settings and removed vestigial css
Diffstat (limited to 'web/react/components/user_settings.jsx')
-rw-r--r-- | web/react/components/user_settings.jsx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/web/react/components/user_settings.jsx b/web/react/components/user_settings.jsx index 7bc842814..a5fa01dc9 100644 --- a/web/react/components/user_settings.jsx +++ b/web/react/components/user_settings.jsx @@ -105,11 +105,11 @@ var NotificationsTab = React.createClass({ }, componentDidMount: function() { UserStore.addChangeListener(this._onChange); - $('#user_settings1').on('hidden.bs.modal', this.handleClose); + $('#user_settings').on('hidden.bs.modal', this.handleClose); }, componentWillUnmount: function() { UserStore.removeChangeListener(this._onChange); - $('#user_settings1').off('hidden.bs.modal', this.handleClose); + $('#user_settings').off('hidden.bs.modal', this.handleClose); this.props.updateSection(''); }, _onChange: function() { @@ -514,11 +514,11 @@ var SecurityTab = React.createClass({ }, handleHistoryOpen: function() { this.setState({willReturn: true}); - $("#user_settings1").modal('hide'); + $("#user_settings").modal('hide'); }, handleDevicesOpen: function() { this.setState({willReturn: true}); - $("#user_settings1").modal('hide'); + $("#user_settings").modal('hide'); }, handleClose: function() { $(this.getDOMNode()).find('.form-control').each(function() { @@ -533,10 +533,10 @@ var SecurityTab = React.createClass({ } }, componentDidMount: function() { - $('#user_settings1').on('hidden.bs.modal', this.handleClose); + $('#user_settings').on('hidden.bs.modal', this.handleClose); }, componentWillUnmount: function() { - $('#user_settings1').off('hidden.bs.modal', this.handleClose); + $('#user_settings').off('hidden.bs.modal', this.handleClose); this.props.updateSection(''); }, getInitialState: function() { @@ -818,10 +818,10 @@ var GeneralTab = React.createClass({ this.props.updateSection(''); }, componentDidMount: function() { - $('#user_settings1').on('hidden.bs.modal', this.handleClose); + $('#user_settings').on('hidden.bs.modal', this.handleClose); }, componentWillUnmount: function() { - $('#user_settings1').off('hidden.bs.modal', this.handleClose); + $('#user_settings').off('hidden.bs.modal', this.handleClose); }, getInitialState: function() { var user = this.props.user; @@ -1100,7 +1100,7 @@ var AppearanceTab = React.createClass({ if (this.props.activeSection === "theme") { $(this.refs[this.state.theme].getDOMNode()).addClass('active-border'); } - $('#user_settings1').on('hidden.bs.modal', this.handleClose); + $('#user_settings').on('hidden.bs.modal', this.handleClose); }, componentDidUpdate: function() { if (this.props.activeSection === "theme") { @@ -1109,7 +1109,7 @@ var AppearanceTab = React.createClass({ } }, componentWillUnmount: function() { - $('#user_settings1').off('hidden.bs.modal', this.handleClose); + $('#user_settings').off('hidden.bs.modal', this.handleClose); this.props.updateSection(''); }, getInitialState: function() { |