diff options
author | Reed Garmsen <rgarmsen2295@gmail.com> | 2015-10-28 16:11:40 -0700 |
---|---|---|
committer | Reed Garmsen <rgarmsen2295@gmail.com> | 2015-10-28 16:12:45 -0700 |
commit | b2cbb956a707ffb6a259488a3efa663a3b436507 (patch) | |
tree | 4ce5cc593582ca54ad66498b303bc104acf5ef38 /web/react/components/edit_post_modal.jsx | |
parent | 5c03f3aad80ecf940ba9dab2321d504d51e9a0e5 (diff) | |
download | chat-b2cbb956a707ffb6a259488a3efa663a3b436507.tar.gz chat-b2cbb956a707ffb6a259488a3efa663a3b436507.tar.bz2 chat-b2cbb956a707ffb6a259488a3efa663a3b436507.zip |
Fixed issue with refocusing not working after editing a post in the RHS
Diffstat (limited to 'web/react/components/edit_post_modal.jsx')
-rw-r--r-- | web/react/components/edit_post_modal.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/edit_post_modal.jsx b/web/react/components/edit_post_modal.jsx index b259b3c18..e5bede026 100644 --- a/web/react/components/edit_post_modal.jsx +++ b/web/react/components/edit_post_modal.jsx @@ -84,7 +84,7 @@ export default class EditPostModal extends React.Component { if (!button) { return; } - self.setState({editText: $(button).attr('data-message'), title: $(button).attr('data-title'), channel_id: $(button).attr('data-channelid'), post_id: $(button).attr('data-postid'), comments: $(button).attr('data-comments'), refocusId: $(button).attr('data-refoucsid')}); + self.setState({editText: $(button).attr('data-message'), title: $(button).attr('data-title'), channel_id: $(button).attr('data-channelid'), post_id: $(button).attr('data-postid'), comments: $(button).attr('data-comments'), refocusId: $(button).attr('data-refocusid')}); }); $(ReactDOM.findDOMNode(this.refs.modal)).on('shown.bs.modal', function onShown() { |