aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/DocumentView.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/views/nodes/DocumentView.tsx')
-rw-r--r--src/client/views/nodes/DocumentView.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx
index d2dabe7ec..aca0433bb 100644
--- a/src/client/views/nodes/DocumentView.tsx
+++ b/src/client/views/nodes/DocumentView.tsx
@@ -310,6 +310,7 @@ export class DocumentView extends DocComponent<DocumentViewProps, Document>(Docu
const fullScreenAlias = Doc.MakeAlias(this.props.Document);
fullScreenAlias.layoutKey = "layout_fullScreen";
this.props.addDocTab(fullScreenAlias, "inTab");
+ } else {
this.props.addDocTab(this.props.Document, "inTab");
}
}, "double tap");