diff options
author | Corey Hulen <corey@hulen.com> | 2017-03-27 18:12:24 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-27 18:12:24 -0700 |
commit | ca8b8d1245026672b1a56d256bb8ff3c8bb1bba9 (patch) | |
tree | fe63702eacaa3743ba24e48c858ab7109feb4a69 /webapp/components/setting_item_min.jsx | |
parent | 022627f9408d739305e93a8acc5f74c5ecdaa229 (diff) | |
download | chat-ca8b8d1245026672b1a56d256bb8ff3c8bb1bba9.tar.gz chat-ca8b8d1245026672b1a56d256bb8ff3c8bb1bba9.tar.bz2 chat-ca8b8d1245026672b1a56d256bb8ff3c8bb1bba9.zip |
Fixing cancel ids for selenium (#5896)
* Fixing ids for selenium
* Fixing ids
* Fixing prop
Diffstat (limited to 'webapp/components/setting_item_min.jsx')
-rw-r--r-- | webapp/components/setting_item_min.jsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webapp/components/setting_item_min.jsx b/webapp/components/setting_item_min.jsx index da86ed4a7..03c4da537 100644 --- a/webapp/components/setting_item_min.jsx +++ b/webapp/components/setting_item_min.jsx @@ -13,7 +13,7 @@ export default class SettingItemMin extends React.Component { editButton = ( <li className='col-xs-12 col-sm-3 section-edit'> <a - id={Utils.createSafeId(this.props.title.toString() + 'Edit')} + id={Utils.createSafeId(this.props.title) + 'Edit'} className='theme' href='#' onClick={this.props.updateSection} @@ -36,7 +36,7 @@ export default class SettingItemMin extends React.Component { <li className='col-xs-12 col-sm-9 section-title'>{this.props.title}</li> {editButton} <li - id={Utils.createSafeId(this.props.title.toString() + 'Desc')} + id={Utils.createSafeId(this.props.title) + 'Desc'} className='col-xs-12 section-describe' > {this.props.describe} |