summaryrefslogtreecommitdiffstats
path: root/webapp/components/setting_item_max.jsx
diff options
context:
space:
mode:
authorCorey Hulen <corey@hulen.com>2017-03-23 19:41:08 -0700
committerGitHub <noreply@github.com>2017-03-23 19:41:08 -0700
commit98baf1536eb1b47d8258e188e1c80393182c6525 (patch)
tree2c60ec6c40fb6e328de980be97e67b76d06db5cb /webapp/components/setting_item_max.jsx
parent6935e2d5ea73d34f0f383715fd161059eff74608 (diff)
downloadchat-98baf1536eb1b47d8258e188e1c80393182c6525.tar.gz
chat-98baf1536eb1b47d8258e188e1c80393182c6525.tar.bz2
chat-98baf1536eb1b47d8258e188e1c80393182c6525.zip
Fixing issue with ids for selenium (#5859)
* Fixing issue with ids for selenium * removing comment
Diffstat (limited to 'webapp/components/setting_item_max.jsx')
-rw-r--r--webapp/components/setting_item_max.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/setting_item_max.jsx b/webapp/components/setting_item_max.jsx
index 9f3c4f0cf..2da500394 100644
--- a/webapp/components/setting_item_max.jsx
+++ b/webapp/components/setting_item_max.jsx
@@ -107,7 +107,7 @@ export default class SettingItemMax extends React.Component {
{clientError}
{submit}
<a
- id={this.props.title + 'Cancel'}
+ id={Utils.createSafeId(this.props.title.toString() + 'Cancel')}
className='btn btn-sm'
href='#'
onClick={this.props.updateSection}