]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Remove useless assignment
authorChocobozzz <me@florianbigard.com>
Mon, 11 Oct 2021 12:40:00 +0000 (14:40 +0200)
committerChocobozzz <me@florianbigard.com>
Mon, 11 Oct 2021 12:40:00 +0000 (14:40 +0200)
client/src/app/shared/shared-forms/markdown-textarea.component.ts

index 8f51d47df638a7ae21f869a1423ba043fc996f80..80ca6690f834439b3d8182982c50b4ef5f6f0f2d 100644 (file)
@@ -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)