diff options
author | Chocobozzz <me@florianbigard.com> | 2021-10-11 14:40:00 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-10-11 14:40:00 +0200 |
commit | 9fb2ed5f83f52155ce1f4ec20c049527c358c11b (patch) | |
tree | aac8eec7c117519646725936ba70dd537c2009bb /client/src/app | |
parent | 5773128647398d8482a129da3f647c3f0795127d (diff) | |
download | PeerTube-9fb2ed5f83f52155ce1f4ec20c049527c358c11b.tar.gz PeerTube-9fb2ed5f83f52155ce1f4ec20c049527c358c11b.tar.zst PeerTube-9fb2ed5f83f52155ce1f4ec20c049527c358c11b.zip |
Remove useless assignment
Diffstat (limited to 'client/src/app')
-rw-r--r-- | client/src/app/shared/shared-forms/markdown-textarea.component.ts | 2 |
1 files changed, 0 insertions, 2 deletions
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 { | |||
132 | const result = await this.customMarkdownRenderer(text) | 132 | const result = await this.customMarkdownRenderer(text) |
133 | 133 | ||
134 | if (result instanceof HTMLElement) { | 134 | if (result instanceof HTMLElement) { |
135 | html = '' | ||
136 | |||
137 | const wrapperElement = this.previewElement.nativeElement as HTMLElement | 135 | const wrapperElement = this.previewElement.nativeElement as HTMLElement |
138 | wrapperElement.innerHTML = '' | 136 | wrapperElement.innerHTML = '' |
139 | wrapperElement.appendChild(result) | 137 | wrapperElement.appendChild(result) |