Commit 03309609 authored by Haelwenn's avatar Haelwenn

upload_button.js: Accept all MIME types

parent 69c0111d
Pipeline #17960 passed with stage
in 5 minutes and 40 seconds
......@@ -10,6 +10,7 @@ Changes
-------
- Getting-Started column: Scrolling is on the whole column rather than being
separated on each compoment
- File Upload: Remove the MIME/file-extension limitation of accepted files
Fixes
-----
......
......@@ -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' }}
......
Markdown is supported
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