We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fece3c3 commit 08d40b0Copy full SHA for 08d40b0
1 file changed
src/components/BootstrapBlazor.PdfViewer/PdfViewer.razor.js
@@ -34,7 +34,7 @@ export async function loadPdf(id, url) {
34
35
const useGoogleDocs = el.getAttribute('data-bb-google-docs') === 'true';
36
if (useGoogleDocs) {
37
- url = `https://docs.google.com/viewer?url=${url}`
+ url = `https://docs.google.com/viewer?url=${url}&embedded=true`
38
}
39
viewer.src = url;
40
0 commit comments