summaryrefslogtreecommitdiffstats
path: root/web/react/components/user_settings/user_settings_security.jsx
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2015-10-15 12:07:06 -0400
committerChristopher Speller <crspeller@gmail.com>2015-10-15 15:00:28 -0400
commit1571a9a2dfbe6dd3bb598a92f7f62e457b613241 (patch)
treec615bb285e59cc2fb9faa61bbbe02af858b9212b /web/react/components/user_settings/user_settings_security.jsx
parentfda7a99e8ce15d51f1d7b2667015af2ef8ab1dec (diff)
downloadchat-1571a9a2dfbe6dd3bb598a92f7f62e457b613241.tar.gz
chat-1571a9a2dfbe6dd3bb598a92f7f62e457b613241.tar.bz2
chat-1571a9a2dfbe6dd3bb598a92f7f62e457b613241.zip
Fixing most deprication warnings
Diffstat (limited to 'web/react/components/user_settings/user_settings_security.jsx')
-rw-r--r--web/react/components/user_settings/user_settings_security.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/user_settings/user_settings_security.jsx b/web/react/components/user_settings/user_settings_security.jsx
index 74190781c..983a10df0 100644
--- a/web/react/components/user_settings/user_settings_security.jsx
+++ b/web/react/components/user_settings/user_settings_security.jsx
@@ -82,7 +82,7 @@ export default class SecurityTab extends React.Component {
$('#user_settings').modal('hide');
}
handleClose() {
- $(React.findDOMNode(this)).find('.form-control').each(function resetValue() {
+ $(ReactDOM.findDOMNode(this)).find('.form-control').each(function resetValue() {
this.value = '';
});
this.setState({currentPassword: '', newPassword: '', confirmPassword: '', serverError: null, passwordError: null});