PLT-1990 Closed markdown preview when edit post modal is closed (#5921)
Этот коммит содержится в:
коммит произвёл
Joram Wilander
родитель
364543c05b
Коммит
4092836c94
@@ -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);
|
||||
|
||||
Ссылка в новой задаче
Block a user