diff options
author | usodhi <61431818+usodhi@users.noreply.github.com> | 2021-03-14 21:21:12 -0400 |
---|---|---|
committer | usodhi <61431818+usodhi@users.noreply.github.com> | 2021-03-14 21:21:12 -0400 |
commit | 599656b2dde4ba56e8cb6bbf9fb0fe2dee43c809 (patch) | |
tree | 8ae27dcbe9be2ac5c6332381e714db6f83fb644e /src/client/documents/Documents.ts | |
parent | 8811fb0f177ed1448fa7b3d08ff42145254a0475 (diff) | |
parent | 45c89c7b79a84fb918b656490f2bde9d1701d76a (diff) |
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web into filters
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r-- | src/client/documents/Documents.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts index e55527f84..baa7aa43b 100644 --- a/src/client/documents/Documents.ts +++ b/src/client/documents/Documents.ts @@ -816,7 +816,7 @@ export namespace Docs { export function PdfDocument(url: string, options: DocumentOptions = {}) { const pdfProto = Prototypes.get(DocumentType.PDF); pdfProto._fitWidth = true; // backward compatibility -- can be removed after db is reset - return InstanceFromProto(pdfProto, new PdfField(new URL(url)), { _viewType: "stacking", ...options }); + return InstanceFromProto(pdfProto, new PdfField(new URL(url)), { ...options }); } export function WebDocument(url: string, options: DocumentOptions = {}) { |