diff options
Diffstat (limited to 'vnext/src/components/MessageInput.js')
-rw-r--r-- | vnext/src/components/MessageInput.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vnext/src/components/MessageInput.js b/vnext/src/components/MessageInput.js index 0f1fa4be..4fea2b57 100644 --- a/vnext/src/components/MessageInput.js +++ b/vnext/src/components/MessageInput.js @@ -83,7 +83,7 @@ export default class MessageInput extends React.Component { <div style={this.state.attach ? activeStyle : inactiveStyle} onClick={this.openfile}> <Icon name="ei-camera" size="s" /> - <input type="file" accept="image/jpg,image/png" onClick={e => e.stopPropagation()} + <input type="file" accept="image/jpeg,image/png" onClick={e => e.stopPropagation()} style={{ display: 'none' }} ref={this.fileinput} value={this.state.attach} onChange={this.attachmentChanged} /> </div> |