diff options
author | bob <bcz@cs.brown.edu> | 2019-07-30 09:24:16 -0400 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-07-30 09:24:16 -0400 |
commit | c8514dc9cabde476368a8c4bd5db8fe625c39028 (patch) | |
tree | e55e48f62647993fab4c230c3faba7f2a1660a17 /src/client/views/nodes/ButtonBox.tsx | |
parent | 7ae3265aa9dbd5238540f06e4a964092cc81191d (diff) | |
parent | e041988b84553797699a5a232e26e72252460e01 (diff) |
Merge branch 'master' into presentation-preview-mohammad
Diffstat (limited to 'src/client/views/nodes/ButtonBox.tsx')
-rw-r--r-- | src/client/views/nodes/ButtonBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/ButtonBox.tsx b/src/client/views/nodes/ButtonBox.tsx index d2c23fdab..e2c559c9a 100644 --- a/src/client/views/nodes/ButtonBox.tsx +++ b/src/client/views/nodes/ButtonBox.tsx @@ -70,7 +70,7 @@ export class ButtonBox extends DocComponent<FieldViewProps, ButtonDocument>(Butt render() { return ( <div className="buttonBox-outerDiv" onContextMenu={this.onContextMenu}> - <button className="buttonBox-mainButton" onClick={this.onClick}>{this.Document.text || "Button"}</button> + <button className="buttonBox-mainButton" onClick={this.onClick}>{this.Document.text || this.Document.title || "Button"}</button> </div> ); } |