aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-10-11 14:40:00 +0200
committerChocobozzz <me@florianbigard.com>2021-10-11 14:40:00 +0200
commit9fb2ed5f83f52155ce1f4ec20c049527c358c11b (patch)
treeaac8eec7c117519646725936ba70dd537c2009bb
parent5773128647398d8482a129da3f647c3f0795127d (diff)
downloadPeerTube-9fb2ed5f83f52155ce1f4ec20c049527c358c11b.tar.gz
PeerTube-9fb2ed5f83f52155ce1f4ec20c049527c358c11b.tar.zst
PeerTube-9fb2ed5f83f52155ce1f4ec20c049527c358c11b.zip
Remove useless assignment
-rw-r--r--client/src/app/shared/shared-forms/markdown-textarea.component.ts2
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)