Move ref to outer div

This commit is contained in:
Luke Barnard 2017-05-25 13:49:41 +01:00
parent 284aeeb43e
commit 9d28c8f577
2 changed files with 13 additions and 3 deletions

View file

@ -178,9 +178,15 @@ module.exports = React.createClass({
<div className="mx_BottomLeftMenu">
<div className="mx_BottomLeftMenu_options">
{ homeButton }
<StartChatButton ref={this._collectPeopleButton} tooltip={true} />
<RoomDirectoryButton ref={this._collectDirectoryButton} tooltip={true} />
<CreateRoomButton ref={this._collectCreateRoomButton} tooltip={true} />
<div ref={this._collectPeopleButton}>
<StartChatButton tooltip={true} />
</div>
<div ref={this._collectDirectoryButton}>
<RoomDirectoryButton tooltip={true} />
</div>
<div ref={this._collectCreateRoomButton}>
<CreateRoomButton tooltip={true} />
</div>
<span className="mx_BottomLeftMenu_settings">
<SettingsButton tooltip={true} />
</span>