"Fix" file upload accept list

This commit is contained in:
Tulir Asokan 2018-11-28 02:33:37 +02:00
parent d252bfbb08
commit 8cfe2e8884

View file

@ -80,7 +80,7 @@ class Plugin extends BaseMainView {
</PrefTable>}
<div className={`upload-box ${this.state.uploading ? "uploading" : ""}`}>
<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}
onDragEnter={evt => evt.target.parentElement.classList.add("drag")}
onDragLeave={evt => evt.target.parentElement.classList.remove("drag")}/>