Merge pull request #5859 from robintown/message-preview-tooltips
Add tooltips to message previewspull/21833/head
commit
2fb241cfc2
|
@ -563,7 +563,11 @@ export default class RoomTile extends React.PureComponent<IProps, IState> {
|
||||||
let messagePreview = null;
|
let messagePreview = null;
|
||||||
if (this.showMessagePreview && this.state.messagePreview) {
|
if (this.showMessagePreview && this.state.messagePreview) {
|
||||||
messagePreview = (
|
messagePreview = (
|
||||||
<div className="mx_RoomTile_messagePreview" id={messagePreviewId(this.props.room.roomId)}>
|
<div
|
||||||
|
className="mx_RoomTile_messagePreview"
|
||||||
|
id={messagePreviewId(this.props.room.roomId)}
|
||||||
|
title={this.state.messagePreview}
|
||||||
|
>
|
||||||
{this.state.messagePreview}
|
{this.state.messagePreview}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue