mirror of
https://github.com/maubot/maubot.git
synced 2024-10-01 01:06:10 -04:00
"Fix" file upload accept list
This commit is contained in:
parent
d252bfbb08
commit
8cfe2e8884
@ -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")}/>
|
||||
|
Loading…
Reference in New Issue
Block a user