diff --git a/src/vs/workbench/contrib/comments/browser/commentNode.ts b/src/vs/workbench/contrib/comments/browser/commentNode.ts index c9d40dd350250..20992326775c8 100644 --- a/src/vs/workbench/contrib/comments/browser/commentNode.ts +++ b/src/vs/workbench/contrib/comments/browser/commentNode.ts @@ -124,10 +124,7 @@ export class CommentNode extends Disposable { private updateCommentBody(body: string | IMarkdownString) { this._body.innerText = ''; - if (this._md) { - this._body.removeChild(this._md); - this._md = undefined; - } + this._md = undefined; if (typeof body === 'string') { this._body.innerText = body; } else {