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/mention_list.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/mention_list.jsx')
-rw-r--r-- | web/react/components/mention_list.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/mention_list.jsx b/web/react/components/mention_list.jsx index b9ba5f58c..8c1da942d 100644 --- a/web/react/components/mention_list.jsx +++ b/web/react/components/mention_list.jsx @@ -61,7 +61,7 @@ export default class MentionList extends React.Component { } onClick(e) { if (!($('#' + this.props.id).is(e.target) || $('#' + this.props.id).has(e.target).length || - ('mentionlist' in this.refs && $(React.findDOMNode(this.refs.mentionlist)).has(e.target).length))) { + ('mentionlist' in this.refs && $(ReactDOM.findDOMNode(this.refs.mentionlist)).has(e.target).length))) { this.setState({mentionText: '-1'}); } } |