client/comments: fix canceling preview
This commit is contained in:
parent
7a6d25ac43
commit
f24ea3450d
1 changed files with 1 additions and 2 deletions
|
@ -62,8 +62,7 @@ class CommentFormControl {
|
|||
this._hostNode.querySelector('.tabs-wrapper').style.minHeight = null;
|
||||
misc.disableExitConfirmation();
|
||||
views.clearMessages(this._hostNode);
|
||||
this._hostNode.querySelector('.edit.tab textarea').value =
|
||||
this._comment.text;
|
||||
this.setText(this._comment.text);
|
||||
}
|
||||
|
||||
get _textareaNode() {
|
||||
|
|
Loading…
Reference in a new issue