"Fix" file upload accept list
This commit is contained in:
parent
d252bfbb08
commit
8cfe2e8884
@ -80,7 +80,7 @@ class Plugin extends BaseMainView {
|
|||||||
</PrefTable>}
|
</PrefTable>}
|
||||||
<div className={`upload-box ${this.state.uploading ? "uploading" : ""}`}>
|
<div className={`upload-box ${this.state.uploading ? "uploading" : ""}`}>
|
||||||
<UploadButton className="upload"/>
|
<UploadButton className="upload"/>
|
||||||
<input className="file-selector" type="file" accept="application/zip"
|
<input className="file-selector" type="file" accept="application/zip+mbp"
|
||||||
onChange={this.upload} disabled={this.state.uploading || this.state.deleting}
|
onChange={this.upload} disabled={this.state.uploading || this.state.deleting}
|
||||||
onDragEnter={evt => evt.target.parentElement.classList.add("drag")}
|
onDragEnter={evt => evt.target.parentElement.classList.add("drag")}
|
||||||
onDragLeave={evt => evt.target.parentElement.classList.remove("drag")}/>
|
onDragLeave={evt => evt.target.parentElement.classList.remove("drag")}/>
|
||||||
|
Loading…
Reference in New Issue
Block a user