diff options
author | Corey Hulen <corey@hulen.com> | 2015-09-03 13:37:25 -0700 |
---|---|---|
committer | Corey Hulen <corey@hulen.com> | 2015-09-03 13:37:25 -0700 |
commit | 4f0c06114b61c92d982baac1c54ed80da93a9cc9 (patch) | |
tree | fa949f1269931b4d62bddda23e26a5dcdff9ac14 /web/react/components/setting_picture.jsx | |
parent | b3fea25eddc332e9529692733093291b10d4aeef (diff) | |
parent | 570327463ca06c23b5b54b9ec93152535836f2c0 (diff) | |
download | chat-4f0c06114b61c92d982baac1c54ed80da93a9cc9.tar.gz chat-4f0c06114b61c92d982baac1c54ed80da93a9cc9.tar.bz2 chat-4f0c06114b61c92d982baac1c54ed80da93a9cc9.zip |
Merge pull request #591 from mattermost/mm-1909
MM-1909 Upgrading ESLint, turning on new rules, enabling some warnings, optimizations
Diffstat (limited to 'web/react/components/setting_picture.jsx')
-rw-r--r-- | web/react/components/setting_picture.jsx | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/web/react/components/setting_picture.jsx b/web/react/components/setting_picture.jsx index 6eaa4a96e..a53112651 100644 --- a/web/react/components/setting_picture.jsx +++ b/web/react/components/setting_picture.jsx @@ -98,12 +98,13 @@ export default class SettingPicture extends React.Component { <li className='setting-list-item'> {serverError} {clientError} - <span className='btn btn-sm btn-primary btn-file sel-btn' - >Select<input - ref='input' - accept='.jpg,.png,.bmp' - type='file' - onChange={this.props.pictureChange} + <span className='btn btn-sm btn-primary btn-file sel-btn'> + Select + <input + ref='input' + accept='.jpg,.png,.bmp' + type='file' + onChange={this.props.pictureChange} /> </span> {confirmButton} |