Fix: remove type attribute from object for Safari

This commit is contained in:
shamoon 2024-06-21 07:29:47 -07:00
parent 91585a1fa6
commit fd595bf442

View File

@ -364,7 +364,7 @@
</pdf-viewer>
</div>
} @else {
<object [data]="previewUrl | safeUrl" type="application/pdf" class="preview-sticky" width="100%"></object>
<object [data]="previewUrl | safeUrl" class="preview-sticky" width="100%"></object>
}
}
@case (ContentRenderType.Text) {