From 006e0f4f25a35a14b3c31fa1d461607eb8a1249c Mon Sep 17 00:00:00 2001 From: Geireann Lindfield Roberts <60007097+geireann@users.noreply.github.com> Date: Mon, 26 Oct 2020 02:27:00 +0800 Subject: Update PresBox.tsx --- src/client/views/nodes/PresBox.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 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; } } -- cgit v1.2.3-70-g09d2