aboutsummaryrefslogtreecommitdiff
path: root/src/views/nodes/DocumentView.tsx
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2019-01-31 13:19:39 -0500
committerbob <bcz@cs.brown.edu>2019-01-31 13:19:39 -0500
commit73bff98b9476df0ecc91af548d80b30f56967a8d (patch)
tree9764fc4482522a09a61056608ee0c3bb8dfde1fd /src/views/nodes/DocumentView.tsx
parente882783aeb3e425c339a15d80e602674261d2823 (diff)
working?
Diffstat (limited to 'src/views/nodes/DocumentView.tsx')
-rw-r--r--src/views/nodes/DocumentView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/views/nodes/DocumentView.tsx b/src/views/nodes/DocumentView.tsx
index 7e2635438..5e72db492 100644
--- a/src/views/nodes/DocumentView.tsx
+++ b/src/views/nodes/DocumentView.tsx
@@ -312,7 +312,7 @@ export class DocumentView extends React.Component<DocumentViewProps> {
render() {
- var freestyling = this.props.ContainingCollectionView === undefined || this.props.ContainingCollectionView instanceof CollectionFreeFormView;
+ var freestyling = this.props.ContainingCollectionView instanceof CollectionFreeFormView;
return (
<div className="node" ref={this._mainCont} style={{
transform: freestyling ? this.transform : "",