You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-15 11:01:52 +03:00
fix context menu on tiles without widgets
This commit is contained in:
@ -43,7 +43,7 @@ module.exports = React.createClass({
|
||||
},
|
||||
|
||||
getEventTileOps: function() {
|
||||
return this.refs.body ? this.refs.body.getEventTileOps() : null;
|
||||
return this.refs.body && this.refs.body.getEventTileOps ? this.refs.body.getEventTileOps() : null;
|
||||
},
|
||||
|
||||
render: function() {
|
||||
|
Reference in New Issue
Block a user