aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client/views/nodes/PresBox.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/PresBox.tsx b/src/client/views/nodes/PresBox.tsx
index 1d24e631d..cda8d068f 100644
--- a/src/client/views/nodes/PresBox.tsx
+++ b/src/client/views/nodes/PresBox.tsx
@@ -622,9 +622,9 @@ export class PresBox extends ViewBoxBaseComponent<FieldViewProps, PresBoxSchema>
setTimeout(() => this.removeDocument(doc), 0);
return false;
} else {
+ if (!doc.presentationTargetDoc) doc.title = doc.title + " - Slide";
doc.aliasOf instanceof Doc && (doc.presentationTargetDoc = doc.aliasOf);
doc.presMovement = PresMovement.Zoom;
- if (!doc.presentationTargetDoc) doc.title = doc.title + " - Slide";
if (this._expandBoolean) doc.presExpandInlineButton = true;
}
}