Skip to content

Commit 5554b12

Browse files
authored
Fix comments can't be updated (microsoft#142013)
Fixes of microsoft#142012
1 parent 4ccfe11 commit 5554b12

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/vs/workbench/contrib/comments/browser/commentNode.ts

+1-4
Original file line numberDiff line numberDiff line change
@@ -124,10 +124,7 @@ export class CommentNode extends Disposable {
124124

125125
private updateCommentBody(body: string | IMarkdownString) {
126126
this._body.innerText = '';
127-
if (this._md) {
128-
this._body.removeChild(this._md);
129-
this._md = undefined;
130-
}
127+
this._md = undefined;
131128
if (typeof body === 'string') {
132129
this._body.innerText = body;
133130
} else {

0 commit comments

Comments
 (0)