Fix: remove type attribute from object for Safari (#7056)

This commit is contained in:
shamoon 2024-06-21 11:22:18 -07:00 committed by GitHub
parent 91585a1fa6
commit cccba47bd7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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) {