Skip to content
Snippets Groups Projects
Verified Commit da7970b4 authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

fix: Modify PDF object tag for clearer intent

Summary of changes
- Updated the object tag for PDF rendering

Changes
- Added the part attribute to the object tag in viewer.mjs to specify that it is for PDF content, enhancing clarity and potential compatibility with modern web standards.
parent d53c637f
No related branches found
No related tags found
No related merge requests found
......@@ -167,7 +167,7 @@ class Viewer extends CustomElement {
}
const html =
'<object data="' +
'<object part="pdf" data="' +
pdfURL +
'" width="100%" height="100%" type="application/pdf"></object>';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment