aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2020-02-14 09:35:06 -0500
committerBob Zeleznik <zzzman@gmail.com>2020-02-14 09:35:06 -0500
commitab062ffcb8c941a45a8614684849e8997bc1eed2 (patch)
treed9259d3f5d6a7715854b35eaf90d949a7be47638 /src
parent553fb2a11aa638c35192a1a2f7da99729867e542 (diff)
fixed caption
Diffstat (limited to 'src')
-rw-r--r--src/client/views/nodes/DocumentView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx
index e9b4f9f7f..ef065f51d 100644
--- a/src/client/views/nodes/DocumentView.tsx
+++ b/src/client/views/nodes/DocumentView.tsx
@@ -850,7 +850,7 @@ export class DocumentView extends DocComponent<DocumentViewProps, Document>(Docu
TraceMobx();
const showTitle = StrCast(this.getLayoutPropStr("_showTitle"));
const showTitleHover = StrCast(this.getLayoutPropStr("_showTitleHover"));
- const showCaption = this.getLayoutPropStr("showCaption");
+ const showCaption = this.getLayoutPropStr("_showCaption");
const showTextTitle = showTitle && (StrCast(this.layoutDoc.layout).indexOf("PresBox") !== -1 || StrCast(this.layoutDoc.layout).indexOf("FormattedTextBox") !== -1) ? showTitle : undefined;
const searchHighlight = (!this.Document.searchFields ? (null) :
<div className="documentView-searchHighlight">