1
0
Fork 0

Remove useless assignment

This commit is contained in:
Chocobozzz 2021-10-11 14:40:00 +02:00
parent 5773128647
commit 9fb2ed5f83
No known key found for this signature in database
GPG key ID: 583A612D890159BE

View file

@ -132,8 +132,6 @@ export class MarkdownTextareaComponent implements ControlValueAccessor, OnInit {
const result = await this.customMarkdownRenderer(text) const result = await this.customMarkdownRenderer(text)
if (result instanceof HTMLElement) { if (result instanceof HTMLElement) {
html = ''
const wrapperElement = this.previewElement.nativeElement as HTMLElement const wrapperElement = this.previewElement.nativeElement as HTMLElement
wrapperElement.innerHTML = '' wrapperElement.innerHTML = ''
wrapperElement.appendChild(result) wrapperElement.appendChild(result)