diff options
author | bob <bcz@cs.brown.edu> | 2019-05-02 13:20:27 -0400 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-05-02 13:20:27 -0400 |
commit | 1ece3904b6b3fbf4ddde29e93e31a30f3898e720 (patch) | |
tree | f22744b69ada30c0bc72e2942fc93412a5157b0f /src/client/views/EditableView.tsx | |
parent | 5f8f133040918713ace577cfe82f38254ea07964 (diff) |
cleaned up drag code - userDropAction takes precedence over dropAction. default is alias
Diffstat (limited to 'src/client/views/EditableView.tsx')
-rw-r--r-- | src/client/views/EditableView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/EditableView.tsx b/src/client/views/EditableView.tsx index 2f17c6c51..73467eb9d 100644 --- a/src/client/views/EditableView.tsx +++ b/src/client/views/EditableView.tsx @@ -60,7 +60,7 @@ export class EditableView extends React.Component<EditableProps> { return ( <div className="editableView-container-editing" style={{ display: this.props.display, height: "auto", maxHeight: `${this.props.height}` }} onClick={action(() => this.editing = true)} > - {this.props.contents} + <span>{this.props.contents}</span> </div> ); } |