diff --git a/skins/base/views/molecules/MessageComposer.js b/skins/base/views/molecules/MessageComposer.js index 9ad1e029..54da22e5 100644 --- a/skins/base/views/molecules/MessageComposer.js +++ b/skins/base/views/molecules/MessageComposer.js @@ -27,7 +27,7 @@ module.exports = React.createClass({ mixins: [MessageComposerController], onUploadClick(ev) { - //this.refs.uploadInput.getDOMNode. + this.refs.uploadInput.getDOMNode().click(); }, onUploadFileSelected: function(ev) { @@ -38,7 +38,7 @@ module.exports = React.createClass({ render: function() { var me = this.props.room.getMember(MatrixClientPeg.get().credentials.userId); - var uploadInputStyle = {display: 'block'}; + var uploadInputStyle = {display: 'none'}; return (