reoder bind
This commit is contained in:
parent
6af29143bf
commit
50bc8a2034
@ -154,7 +154,7 @@ class Main extends Component {
|
||||
{this.state.page == "#upload_files" &&
|
||||
<div>
|
||||
<form id="form" action="/api/upload_files" class="container" onSubmit={(e) => this.onSubmit(e)}>
|
||||
<label>Zvolte soubory <input type="file" name="files" accept=".jpg,.png,.webp,.webm,.avi,.mkv,.mp4" multiple="true" onChange={(e)=> this.handleChangeFiles(e).bind(this)}/></label>
|
||||
<label>Zvolte soubory <input type="file" name="files" accept=".jpg,.png,.webp,.webm,.avi,.mkv,.mp4" multiple="true" onChange={(e)=> this.handleChangeFiles.bind(this)(e)}/></label>
|
||||
<button type="submit" class="btn btn-primary">Nahrát</button>
|
||||
</form>
|
||||
</div>}
|
||||
|
Loading…
x
Reference in New Issue
Block a user