limit avatar uploads to images
This commit is contained in:
parent
e79d38467b
commit
5ac76acc05
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ module.exports = React.createClass({
|
|||
uploadSection = (
|
||||
<div className={this.props.className}>
|
||||
Upload new:
|
||||
<input type="file" onChange={this.onFileSelected}/>
|
||||
<input type="file" accept="image/*" onChange={this.onFileSelected}/>
|
||||
{this.state.errorText}
|
||||
</div>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue