diff options
author | yipstanley <stanley_yip@brown.edu> | 2019-07-30 00:02:29 -0400 |
---|---|---|
committer | yipstanley <stanley_yip@brown.edu> | 2019-07-30 00:02:29 -0400 |
commit | 8f1159a8216a56caeabe9bed686852f18758eddb (patch) | |
tree | aa9ffb34d3fcdd34baef5d344a6c1f80471d7b95 /src/client/views/nodes/ButtonBox.tsx | |
parent | 2468ab85d642b954e47a560e2d0739dba9674f88 (diff) | |
parent | f6583e4b504a4a60f4aefc68c7a60692a92869dd (diff) |
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web
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> ); } |