aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2020-02-08 22:18:17 -0500
committerBob Zeleznik <zzzman@gmail.com>2020-02-08 22:18:17 -0500
commitb5f34c5e702c3796e0f346ee2887a92332db9778 (patch)
tree2c562ecf388dd469109f301b38e8b490a4791594
parenta6745426e4b6de39a17a722a377e44b5bcdd90bd (diff)
from last..
-rw-r--r--src/client/views/nodes/DocumentView.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx
index 14db9cffa..787f6b79b 100644
--- a/src/client/views/nodes/DocumentView.tsx
+++ b/src/client/views/nodes/DocumentView.tsx
@@ -983,11 +983,11 @@ export class DocumentView extends DocComponent<DocumentViewProps, Document>(Docu
height: "100%",
opacity: this.Document.opacity
}}>
- {this.onClickHandler ? <>
+ {this.onClickHandler && this.props.ContainingCollectionView?.props.Document._viewType === CollectionViewType.Time ? <>
{this.innards}
- <div className="documentView-contentBlocker"/>
+ <div className="documentView-contentBlocker" />
</> :
- this.innards}
+ this.innards}
</div>;
}
}