mirror of
https://github.com/element-hq/element-web
synced 2024-11-26 19:26:04 +03:00
.click() was what I was looking for...
This commit is contained in:
parent
29b4f59982
commit
0fa7f6cb63
1 changed files with 2 additions and 2 deletions
|
@ -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 (
|
||||
<div className="mx_MessageComposer">
|
||||
<div className="mx_MessageComposer_wrapper">
|
||||
|
|
Loading…
Reference in a new issue