client/comments: fix canceling preview

This commit is contained in:
rr- 2016-06-12 22:33:31 +02:00
parent 7a6d25ac43
commit f24ea3450d
1 changed files with 1 additions and 2 deletions

View File

@ -62,8 +62,7 @@ class CommentFormControl {
this._hostNode.querySelector('.tabs-wrapper').style.minHeight = null; this._hostNode.querySelector('.tabs-wrapper').style.minHeight = null;
misc.disableExitConfirmation(); misc.disableExitConfirmation();
views.clearMessages(this._hostNode); views.clearMessages(this._hostNode);
this._hostNode.querySelector('.edit.tab textarea').value = this.setText(this._comment.text);
this._comment.text;
} }
get _textareaNode() { get _textareaNode() {