diff options
author | Corey Hulen <corey@hulen.com> | 2015-10-16 09:15:30 -0700 |
---|---|---|
committer | Corey Hulen <corey@hulen.com> | 2015-10-16 09:15:30 -0700 |
commit | 3bd0a15341a5cff29c172aed73cda688e63fb7e7 (patch) | |
tree | 31e8f80c3a365a607754b7e49910729d49343e24 /web/react/components/edit_post_modal.jsx | |
parent | 9c045f0d4bdf254f57b94356fd2f5f2a2408ed03 (diff) | |
parent | 495673d80d75ddfc97dc8d9fe61021142418dcc2 (diff) | |
download | chat-3bd0a15341a5cff29c172aed73cda688e63fb7e7.tar.gz chat-3bd0a15341a5cff29c172aed73cda688e63fb7e7.tar.bz2 chat-3bd0a15341a5cff29c172aed73cda688e63fb7e7.zip |
Merge pull request #1089 from mattermost/client-warning-fixes
Fixing some client warnings
Diffstat (limited to 'web/react/components/edit_post_modal.jsx')
-rw-r--r-- | web/react/components/edit_post_modal.jsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/react/components/edit_post_modal.jsx b/web/react/components/edit_post_modal.jsx index 90d9696e7..b259b3c18 100644 --- a/web/react/components/edit_post_modal.jsx +++ b/web/react/components/edit_post_modal.jsx @@ -70,7 +70,7 @@ export default class EditPostModal extends React.Component { refocusId: options.refocusId || '' }); - $(React.findDOMNode(this.refs.modal)).modal('show'); + $(ReactDOM.findDOMNode(this.refs.modal)).modal('show'); } componentDidMount() { var self = this; @@ -92,7 +92,7 @@ export default class EditPostModal extends React.Component { $('#edit_textbox').get(0).focus(); }); - $(React.findDOMNode(this.refs.modal)).on('hide.bs.modal', function onShown() { + $(ReactDOM.findDOMNode(this.refs.modal)).on('hide.bs.modal', function onShown() { if (self.state.refocusId !== '') { setTimeout(() => { $(self.state.refocusId).get(0).focus(); |