Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

Remove object tag contents

Michael Shamoonef7775b6582e
diff --git a/src-ui/src/app/components/document-detail/document-detail.component.html b/src-ui/src/app/components/document-detail/document-detail.component.html
index 7ef4e8e91..79215c51c 100644
--- a/src-ui/src/app/components/document-detail/document-detail.component.html
+++ b/src-ui/src/app/components/document-detail/document-detail.component.html
@@ -125,7 +125,7 @@
<div class="col-md-6 col-xl-8 mb-3">
<ng-container *ngIf="getContentType() == 'application/pdf'">
- <object [data]="previewUrl | safe" class="preview-sticky" width="100%">If error</object>
+ <object [data]="previewUrl | safe" class="preview-sticky" width="100%"></object>
</ng-container>
<ng-container *ngIf="getContentType() == 'text/plain'">
<object [data]="previewUrl | safe" type="text/plain" class="preview-sticky" width="100%"></object>