summaryrefslogtreecommitdiffstats
path: root/web/react/components
diff options
context:
space:
mode:
authorCorey Hulen <corey@hulen.com>2015-09-02 12:56:19 -0700
committerCorey Hulen <corey@hulen.com>2015-09-02 12:56:19 -0700
commit27970af4bbbb2d358245bfd63e3167ddfa948135 (patch)
tree5d302b857468f907f09acbae00d4408fb7a0d645 /web/react/components
parentf720a06cfb5d703816f4acfece52f778352a9437 (diff)
parent4fb839a089cf48aad0885a9700e4dda626c5eb04 (diff)
downloadchat-27970af4bbbb2d358245bfd63e3167ddfa948135.tar.gz
chat-27970af4bbbb2d358245bfd63e3167ddfa948135.tar.bz2
chat-27970af4bbbb2d358245bfd63e3167ddfa948135.zip
Merge pull request #558 from nickago/hotfix
Bound on change function to react componenet
Diffstat (limited to 'web/react/components')
-rw-r--r--web/react/components/user_profile.jsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/react/components/user_profile.jsx b/web/react/components/user_profile.jsx
index 0d10166f3..fbdcdca59 100644
--- a/web/react/components/user_profile.jsx
+++ b/web/react/components/user_profile.jsx
@@ -16,6 +16,7 @@ export default class UserProfile extends React.Component {
super(props);
this.uniqueId = nextId();
+ this.onChange = this.onChange.bind(this);
this.state = this.getStateFromStores(this.props.userId);
}