Verified Commit 56d77aa5 authored by Haelwenn's avatar Haelwenn
Browse files

upload_button.js: Accept all MIME types

parent bcd29f1d
......@@ -261,7 +261,6 @@ class ComposerOptions extends ImmutablePureComponent {
return (
<div className='composer--options'>
<input
accept={acceptContentTypes}
disabled={disabled || !allowMedia}
key={resetFileKey}
onChange={this.handleChangeFiles}
......
......@@ -70,7 +70,6 @@ class UploadButton extends ImmutablePureComponent {
ref={this.setRef}
type='file'
multiple
accept={acceptContentTypes.toArray().join(',')}
onChange={this.handleChange}
disabled={disabled}
style={{ display: 'none' }}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment