From: Chocobozzz Date: Mon, 11 Oct 2021 12:40:00 +0000 (+0200) Subject: Remove useless assignment X-Git-Tag: v4.0.0-rc.1~296 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=9fb2ed5f83f52155ce1f4ec20c049527c358c11b;p=github%2FChocobozzz%2FPeerTube.git Remove useless assignment --- diff --git a/client/src/app/shared/shared-forms/markdown-textarea.component.ts b/client/src/app/shared/shared-forms/markdown-textarea.component.ts index 8f51d47df..80ca6690f 100644 --- a/client/src/app/shared/shared-forms/markdown-textarea.component.ts +++ b/client/src/app/shared/shared-forms/markdown-textarea.component.ts @@ -132,8 +132,6 @@ export class MarkdownTextareaComponent implements ControlValueAccessor, OnInit { const result = await this.customMarkdownRenderer(text) if (result instanceof HTMLElement) { - html = '' - const wrapperElement = this.previewElement.nativeElement as HTMLElement wrapperElement.innerHTML = '' wrapperElement.appendChild(result)