Refactor of the RoomTooltip, so that it is easier to use, and also works with Safari
This commit is contained in:
parent
bf8d7050cc
commit
d2e2c726eb
5 changed files with 47 additions and 80 deletions
|
@ -41,12 +41,11 @@ module.exports = React.createClass({
|
|||
}
|
||||
else if (this.state.hover) {
|
||||
var RoomTooltip = sdk.getComponent("rooms.RoomTooltip");
|
||||
return <RoomTooltip name={name}/>;
|
||||
return <RoomTooltip name={name} component={this} />;
|
||||
}
|
||||
},
|
||||
|
||||
render: function() {
|
||||
var BottomLeftMenuTile = sdk.getComponent('rooms.BottomLeftMenuTile');
|
||||
var TintableSvg = sdk.getComponent('elements.TintableSvg');
|
||||
return (
|
||||
<div className="mx_BottomLeftMenu">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue