From e301d23c10d4dd9b7677100bdeba1b02998bf8ac Mon Sep 17 00:00:00 2001 From: bobzel Date: Sun, 27 Sep 2020 10:22:59 -0400 Subject: fixed loading of pdfs --- src/client/views/nodes/DocumentView.tsx | 1 - src/client/views/pdf/PDFViewer.tsx | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx index 32c6fce36..e0955f9fe 100644 --- a/src/client/views/nodes/DocumentView.tsx +++ b/src/client/views/nodes/DocumentView.tsx @@ -911,7 +911,6 @@ export class DocumentView extends DocComponent(Docu childScaling = () => (this.layoutDoc._fitWidth ? this.props.PanelWidth() / this.nativeWidth : this.props.ContentScaling()); @computed.struct get linkOffset() { return this.topMost ? [0, undefined, undefined, 10] : [-15, undefined, undefined, undefined]; } @computed get contents() { - const pos = this.props.relative ? "relative " : "absolute"; TraceMobx(); return (