diff options
author | nickago <ngonella@calpoly.edu> | 2015-09-02 12:54:01 -0700 |
---|---|---|
committer | nickago <ngonella@calpoly.edu> | 2015-09-02 12:54:01 -0700 |
commit | 4fb839a089cf48aad0885a9700e4dda626c5eb04 (patch) | |
tree | 2bf8ec0adaf3387834b386e85b735a2ee15c8dd1 /web | |
parent | c7cafb6ac7404b62f38b48d3ec5782863abf203a (diff) | |
download | chat-4fb839a089cf48aad0885a9700e4dda626c5eb04.tar.gz chat-4fb839a089cf48aad0885a9700e4dda626c5eb04.tar.bz2 chat-4fb839a089cf48aad0885a9700e4dda626c5eb04.zip |
Bound on change function to react componenet
Diffstat (limited to 'web')
-rw-r--r-- | web/react/components/user_profile.jsx | 1 |
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); } |