Merge pull request #671 from matrix-org/dbkr/fix_read_receipt_unhide
Fix expanding/unexapnding read receipts
This commit is contained in:
commit
e9a53a8957
2 changed files with 9 additions and 8 deletions
|
@ -159,13 +159,14 @@ module.exports = React.createClass({
|
||||||
}
|
}
|
||||||
if (onClick != null) {
|
if (onClick != null) {
|
||||||
return (
|
return (
|
||||||
<AccessibleButton className="mx_BaseAvatar" onClick={onClick}>
|
<AccessibleButton className="mx_BaseAvatar mx_BaseAvatar_image"
|
||||||
<img className="mx_BaseAvatar_image" src={imageUrl}
|
element='img'
|
||||||
|
src={imageUrl}
|
||||||
|
onClick={onClick}
|
||||||
onError={this.onError}
|
onError={this.onError}
|
||||||
width={width} height={height}
|
width={width} height={height}
|
||||||
title={title} alt=""
|
title={title} alt=""
|
||||||
{...otherProps} />
|
{...otherProps} />
|
||||||
</AccessibleButton>
|
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
return (
|
return (
|
||||||
|
|
|
@ -192,9 +192,9 @@ module.exports = React.createClass({
|
||||||
width={14} height={14} resizeMethod="crop"
|
width={14} height={14} resizeMethod="crop"
|
||||||
style={style}
|
style={style}
|
||||||
title={title}
|
title={title}
|
||||||
|
onClick={this.props.onClick}
|
||||||
/>
|
/>
|
||||||
</Velociraptor>
|
</Velociraptor>
|
||||||
);
|
);
|
||||||
/* onClick={this.props.onClick} */
|
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue