aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeireann Lindfield Roberts <60007097+geireann@users.noreply.github.com>2020-10-26 02:27:00 +0800
committerGeireann Lindfield Roberts <60007097+geireann@users.noreply.github.com>2020-10-26 02:27:00 +0800
commit006e0f4f25a35a14b3c31fa1d461607eb8a1249c (patch)
tree43dec089941ecd527c660efb1f4c8809b56ddfe9 /src
parent310bcbfb03073e1fa6580bce2901f96a5fd676f4 (diff)
Update PresBox.tsx
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;
}
}