diff options
Diffstat (limited to 'webapp/components/edit_post_modal.jsx')
-rw-r--r-- | webapp/components/edit_post_modal.jsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/webapp/components/edit_post_modal.jsx b/webapp/components/edit_post_modal.jsx index b2b607428..902b18d30 100644 --- a/webapp/components/edit_post_modal.jsx +++ b/webapp/components/edit_post_modal.jsx @@ -184,6 +184,8 @@ export default class EditPostModal extends React.Component { } onModalHide() { + this.refs.editbox.hidePreview(); + if (this.state.refocusId !== '') { setTimeout(() => { const element = $(this.state.refocusId).get(0); |