We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ccfe11 commit 5554b12Copy full SHA for 5554b12
1 file changed
src/vs/workbench/contrib/comments/browser/commentNode.ts
@@ -124,10 +124,7 @@ export class CommentNode extends Disposable {
124
125
private updateCommentBody(body: string | IMarkdownString) {
126
this._body.innerText = '';
127
- if (this._md) {
128
- this._body.removeChild(this._md);
129
- this._md = undefined;
130
- }
+ this._md = undefined;
131
if (typeof body === 'string') {
132
this._body.innerText = body;
133
} else {
0 commit comments