aboutsummaryrefslogtreecommitdiff
path: root/vnext/src
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-07-15 17:21:32 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:53 +0300
commite524bc96e440dbd54447da764d34b5bfddee693e (patch)
tree632fbbab7c6125fd6e20266f3b33d9888df2f728 /vnext/src
parent861fa2559fa16c3967a1d191a3a32d6eda6a4221 (diff)
fix MessageInput content type
Diffstat (limited to 'vnext/src')
-rw-r--r--vnext/src/components/MessageInput.js2
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>